diff --git a/nginx/opennet/locations/include/common.conf b/nginx/opennet/locations/include/common.conf index 58c1db0..3aa0179 100644 --- a/nginx/opennet/locations/include/common.conf +++ b/nginx/opennet/locations/include/common.conf @@ -121,4 +121,7 @@ sub_filter 'http://forum.opennet.ru' 'http://[$server_addr]/opennet/wwwcgi-bin/o sub_filter 'https://forum.opennet.ru' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; sub_filter 'http://forum.opennet.me' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; -sub_filter 'https://forum.opennet.me' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; \ No newline at end of file +sub_filter 'https://forum.opennet.me' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; + +sub_filter '/forum' '/cgi-bin/openforum/vsluhboard.cgi'; +sub_filter './forum' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; \ No newline at end of file