diff --git a/nginx/opennet/README.md b/nginx/opennet/README.md index ab79efc..f8da7c4 100644 --- a/nginx/opennet/README.md +++ b/nginx/opennet/README.md @@ -15,6 +15,7 @@ Current implementation forward subdomains to following proxy locations: * `solaris.opennet.ru` > `/opennet/solaris` * `web.opennet.ru` > `/opennet/web` * `wiki.opennet.ru` > `/opennet/wiki` +* `forum.opennet.ru` > `/opennet/wwwcgi-bin/openforum/vsluhboard.cgi` ## Installation diff --git a/nginx/opennet/locations/include/common.conf b/nginx/opennet/locations/include/common.conf index df41481..7fc351b 100644 --- a/nginx/opennet/locations/include/common.conf +++ b/nginx/opennet/locations/include/common.conf @@ -110,4 +110,11 @@ sub_filter 'http://grab.opennet.ru' 'http://[$server_addr]/opennet/grab'; sub_filter 'https://grab.opennet.ru' 'http://[$server_addr]/opennet/grab'; sub_filter 'http://grab.opennet.me' 'http://[$server_addr]/opennet/grab'; -sub_filter 'https://grab.opennet.me' 'http://[$server_addr]/opennet/grab'; \ No newline at end of file +sub_filter 'https://grab.opennet.me' 'http://[$server_addr]/opennet/grab'; + +# forum +sub_filter 'http://forum.opennet.ru' 'http://[$server_addr]/opennet/wwwcgi-bin/openforum/vsluhboard.cgi'; +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