On Mar 24, 2012, at 12:45 PM, Huan Truong wrote:
>
> But in this case I feel the $server_name should take the value of
> mysite.sites.example.edu when the browser requests
> mysite.sites.example.edu instead of sites.example.edu, the first value
> it found on the server_name directive.
That *is* what $host does:
http://wiki.nginx.org/HttpCoreModule#.24host
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx