Wrong $server_name variable (FastCGI phpCAS problem)

Brian Akins brian at akins.org
Sun Mar 25 02:06:29 UTC 2012


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





More information about the nginx mailing list