nginx configuration issues

Cliff Wells cliff at
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):

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



More information about the nginx mailing list