Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sub filter, как правильно?
- To: nginx-ru@xxxxxxxxx
- Subject: sub filter, как правильно?
- From: "DenisM" <nginx-forum@xxxxxxxx>
- Date: Wed, 22 Jan 2014 09:32:19 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selenium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=1DNb0Nm1Dq/zpSO8Alf66PL9ZmCQuK46yfa4cPT44fE=; b=OMEJdMiDRnZCh2m6SnsMaGZzlWZHNA60nW4pj2mJ08VwZqUiaVOdFEejbGTcDVP/xaxXKKbbIx059MNlfb/whw5yBS2H98L++181wiu9vda9AY7qrLaIhis0DKEoF7Cz8bNw+DNcmyqKSivorBgQgNJ6K69GRoA/SevFHkdHJHU=;
Привет!
Сайт на 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 *;
Всюду пробовал, нигде не работает.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,246704,246704#msg-246704
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|