Welcome! Log In Create A New Profile

Advanced

What is the right place for sub_filter?

January 23, 2014 01:57AM
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.
Subject Author Posted

What is the right place for sub_filter?

DenisM January 23, 2014 01:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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