Welcome! Log In Create A New Profile

Advanced

Re: Не работает access log off;

September 07, 2011 04:00PM
On Wed, Sep 07, 2011 at 03:03:58PM -0400, nikosid wrote:
> Да нет, наоборот, должен редиректить
> только с site.com на www.site.com

Тут какбэ написано ровно обратное:

if ($host = 'www.site.com.ua' ) {
rewrite ^/(.*)$ http://site.com.ua/$1 permanent;
}


--
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Не работает access_log off;

nikosid September 07, 2011 06:26AM

Re: Не работает access_log off;

nikosid September 07, 2011 06:30AM

Re: Не работает access log off;

Igor Sysoev September 07, 2011 06:34AM

Re: Не работает access log off;

nikosid September 07, 2011 01:47PM

Re: Не работает access log off;

nikosid September 07, 2011 01:55PM

Re: Не работает access log off;

Igor Sysoev September 07, 2011 02:44PM

Re: Не работает access log off;

nikosid September 07, 2011 02:53PM

Re: Не работает access log off;

nikosid September 07, 2011 03:03PM

Re: Не работает access log off;

Igor Sysoev September 07, 2011 02:58PM

Re: Не работает access log off;

Igor Sysoev September 07, 2011 04:00PM

Re: Не работает access log off;

nikosid September 08, 2011 02:08AM

Re: Не работает access log off;

Igor Sysoev September 08, 2011 02:20AM

Re: Не работает access log off;

kav September 08, 2011 02:44AM

Re: Не работает access log off;

Igor Sysoev September 08, 2011 02:48AM

Re: Не работает access log off;

kav September 08, 2011 02:54AM

Re: Не работает access log off;

nikosid September 09, 2011 10:14AM

Re: Не работает access log off;

kav September 09, 2011 10:26AM

Re: Не работает access log off;

nikosid September 08, 2011 02:59PM

Re: Не работает access log off;

nikosid September 09, 2011 10:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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