June 17, 2009 02:46PM
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
Subject Author Posted

nginx configuration issues

Joel Dahl June 17, 2009 11:44AM

Re: nginx configuration issues

Igor Sysoev June 17, 2009 01:24PM

Re: nginx configuration issues

Joel Dahl June 17, 2009 02:20PM

Re: nginx configuration issues

Cliff Wells June 17, 2009 02:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 260
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