Brian Akins
March 24, 2012 10:08PM
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
Subject Author Posted

Fwd: Wrong $server_name variable (FastCGI phpCAS problem)

Huan Truong March 24, 2012 12:46PM

Re: Wrong $server_name variable (FastCGI phpCAS problem)

Brian Akins March 24, 2012 10:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready