chaoslawful/lua-nginx-module — pull request #293 by aviramc (2013-10-10 10:15:49+00:00)
Title: Correct setting of the $host variable and the host header

Added a call to Nginx's ngx_http_validate_host (copied it because it's static) in order to set the correct value for the $host variable and to verify the host set by Lua.
This should solve #292.