Welcome! Log In Create A New Profile

Advanced

sub_filter, как правильно?

January 22, 2014 09:32AM
Привет!
Сайт на php-cgi (fastcgi). nginx 1.4.4.
Нужно заменить ссылки www.domain на www1.domain.
Куда следует поместить sub_filter: в server, "location /", "location ~ .php$",..?

sub_filter www.domain www1.domain;
sub_filter_types *;

Всюду пробовал, нигде не работает.
Subject Author Posted

sub_filter, как правильно?

DenisM January 22, 2014 09:32AM

Re: sub filter, как правильно?

Валентин Бартенев January 22, 2014 10:16AM

Re: sub filter, как правильно?

DenisM January 23, 2014 01:50AM

Re: sub filter, как правильно?

Валентин Бартенев January 23, 2014 11:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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