Вячеслав (СТУDИЯ АРТ-DИЗАЙН)
November 19, 2009 04:04AM
Добрый день,

Может быть:
map $http_host $name {
hostnames;
default 0;
-files.***.ru 1;
+files.***.net.ru 1;
}

Вот привожу конфиги в пример

http://yuzik.net.ru/nginx.conf
и файл который инклюдится
http://yuzik.net.ru/dom.conf

что может быть не так?

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,23834,23858#msg-23858
Subject Author Posted

nginx.conf *.domain.com

Yuzik November 18, 2009 08:03AM

Re: nginx.conf *.domain.com

kabachok November 18, 2009 08:36AM

Re: nginx.conf *.domain.com

Yuzik November 18, 2009 08:40AM

Re: nginx.conf *.domain.com

Sergey Shepelev November 18, 2009 08:50AM

Re: nginx.conf *.domain.com

Yuzik November 18, 2009 09:14AM

Re: nginx.conf *.domain.com

Yuzik November 18, 2009 09:22AM

Re: nginx.conf *.domain.com

Sergey Shepelev November 18, 2009 09:38AM

Re: nginx.conf *.domain.com

Yuzik November 20, 2009 06:17PM

Re: nginx.conf *.domain.com

Sergey Shepelev November 21, 2009 12:56PM

Re: nginx.conf *.domain.com

Yuzik November 18, 2009 09:33AM

RE: nginx.conf *.domain.com

Вячеслав (СТУDИЯ АРТ-DИЗАЙН) November 19, 2009 04:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready