What is the right place for sub_filter?
DenisM
nginx-forum at nginx.us
Thu Jan 23 06:57:28 UTC 2014
Hi!
My site runs php-cgi (via fastcgi) & nginx 1.4.4.
I need to replace www.domain refs to www1.domain ones.
Where to place sub_filter - in server{}, or "location /", or "location ~
.php$",..?
sub_filter www.domain www1.domain;
sub_filter_types *;
I tried all these places w/o success.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246736,246736#msg-246736
More information about the nginx
mailing list