nginx configuration issues

Cliff Wells cliff at develix.com
Wed Jun 17 22:46:51 MSD 2009


On Wed, 2009-06-17 at 21:24 +0400, Igor Sysoev wrote:

> Add
> 
>     server {
>        server_name_in_redirect on;
> 
> otherwise nginx uses "_" as server name in redirect: "http://_/bar/".

The wiki docs aren't terribly clear on this (in fact, it seems to
suggest the opposite - including the default value):

http://wiki.nginx.org/NginxHttpCoreModule#server_name_in_redirect

Also, am I correct in assuming the same applies to using wildcards in
server_name?

Cliff

-- 
http://www.google.com/search?q=vonage+sucks






More information about the nginx mailing list