Browse Source

add forum links support

main
ghost 1 year ago
parent
commit
0dbe92ea18
  1. 1
      nginx/opennet/README.md
  2. 7
      nginx/opennet/locations/include/common.conf

1
nginx/opennet/README.md

@ -15,6 +15,7 @@ Current implementation forward subdomains to following proxy locations: @@ -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

7
nginx/opennet/locations/include/common.conf

@ -111,3 +111,10 @@ sub_filter 'https://grab.opennet.ru' 'http://[$server_addr]/opennet/grab'; @@ -111,3 +111,10 @@ 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';
# 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';
Loading…
Cancel
Save