Browse Source

update config tree for opennet

main
ghost 1 year ago
parent
commit
f73da3f761
  1. 26
      nginx/opennet/locations.conf
  2. 2
      nginx/opennet/locations/bsd.conf
  3. 2
      nginx/opennet/locations/cisco.conf
  4. 2
      nginx/opennet/locations/grab.conf
  5. 2
      nginx/opennet/locations/include/common.conf
  6. 2
      nginx/opennet/locations/linux.conf
  7. 2
      nginx/opennet/locations/m.conf
  8. 2
      nginx/opennet/locations/mobile.conf
  9. 2
      nginx/opennet/locations/palm.conf
  10. 2
      nginx/opennet/locations/security.conf
  11. 2
      nginx/opennet/locations/solaris.conf
  12. 2
      nginx/opennet/locations/web.conf
  13. 2
      nginx/opennet/locations/wiki.conf
  14. 2
      nginx/opennet/locations/www-less.conf
  15. 2
      nginx/opennet/locations/www.conf

26
nginx/opennet/locations.conf

@ -1,38 +1,38 @@ @@ -1,38 +1,38 @@
# www-less
include /etc/nginx/opennet/include/locations/www-less.conf;
include /etc/nginx/opennet/locations/www-less.conf;
# www
include /etc/nginx/opennet/include/locations/www.conf;
include /etc/nginx/opennet/locations/www.conf;
# bsd
include /etc/nginx/opennet/include/locations/bsd.conf;
include /etc/nginx/opennet/locations/bsd.conf;
# cisco
include /etc/nginx/opennet/include/locations/cisco.conf;
include /etc/nginx/opennet/locations/cisco.conf;
# grab
include /etc/nginx/opennet/include/locations/grab.conf;
include /etc/nginx/opennet/locations/grab.conf;
# linux
include /etc/nginx/opennet/include/locations/linux.conf;
include /etc/nginx/opennet/locations/linux.conf;
# m
include /etc/nginx/opennet/include/locations/m.conf;
include /etc/nginx/opennet/locations/m.conf;
# mobile
include /etc/nginx/opennet/include/locations/mobile.conf;
include /etc/nginx/opennet/locations/mobile.conf;
# palm
include /etc/nginx/opennet/include/locations/palm.conf;
include /etc/nginx/opennet/locations/palm.conf;
# security
include /etc/nginx/opennet/include/locations/security.conf;
include /etc/nginx/opennet/locations/security.conf;
# solaris
include /etc/nginx/opennet/include/locations/solaris.conf;
include /etc/nginx/opennet/locations/solaris.conf;
# web
include /etc/nginx/opennet/include/locations/web.conf;
include /etc/nginx/opennet/locations/web.conf;
# wiki
include /etc/nginx/opennet/include/locations/wiki.conf;
include /etc/nginx/opennet/locations/wiki.conf;

2
nginx/opennet/include/locations/bsd.conf → nginx/opennet/locations/bsd.conf

@ -4,7 +4,7 @@ location /opennet/bsd { @@ -4,7 +4,7 @@ location /opennet/bsd {
proxy_pass https://bsd.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/bsd/';

2
nginx/opennet/include/locations/cisco.conf → nginx/opennet/locations/cisco.conf

@ -4,7 +4,7 @@ location /opennet/cisco { @@ -4,7 +4,7 @@ location /opennet/cisco {
proxy_pass https://cisco.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/cisco/';

2
nginx/opennet/include/locations/grab.conf → nginx/opennet/locations/grab.conf

@ -4,7 +4,7 @@ location /opennet/grab { @@ -4,7 +4,7 @@ location /opennet/grab {
proxy_pass https://grab.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/grab/';

2
nginx/opennet/include/locations/include/common.conf → nginx/opennet/locations/include/common.conf

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
# Include configuration file
# Describes common rules for available locations at
# nginx/opennet/include/locations
# nginx/opennet/locations
# Tell to server, that's proxy request
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

2
nginx/opennet/include/locations/linux.conf → nginx/opennet/locations/linux.conf

@ -4,7 +4,7 @@ location /opennet/linux { @@ -4,7 +4,7 @@ location /opennet/linux {
proxy_pass https://linux.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/linux/';

2
nginx/opennet/include/locations/m.conf → nginx/opennet/locations/m.conf

@ -4,7 +4,7 @@ location /opennet/m { @@ -4,7 +4,7 @@ location /opennet/m {
proxy_pass https://m.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/m/';

2
nginx/opennet/include/locations/mobile.conf → nginx/opennet/locations/mobile.conf

@ -4,7 +4,7 @@ location /opennet/mobile { @@ -4,7 +4,7 @@ location /opennet/mobile {
proxy_pass https://mobile.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/mobile/';

2
nginx/opennet/include/locations/palm.conf → nginx/opennet/locations/palm.conf

@ -4,7 +4,7 @@ location /opennet/palm { @@ -4,7 +4,7 @@ location /opennet/palm {
proxy_pass https://palm.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/palm/';

2
nginx/opennet/include/locations/security.conf → nginx/opennet/locations/security.conf

@ -4,7 +4,7 @@ location /opennet/security { @@ -4,7 +4,7 @@ location /opennet/security {
proxy_pass https://security.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/security/';

2
nginx/opennet/include/locations/solaris.conf → nginx/opennet/locations/solaris.conf

@ -4,7 +4,7 @@ location /opennet/solaris { @@ -4,7 +4,7 @@ location /opennet/solaris {
proxy_pass https://solaris.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/solaris/';

2
nginx/opennet/include/locations/web.conf → nginx/opennet/locations/web.conf

@ -4,7 +4,7 @@ location /opennet/web { @@ -4,7 +4,7 @@ location /opennet/web {
proxy_pass https://web.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/web/';

2
nginx/opennet/include/locations/wiki.conf → nginx/opennet/locations/wiki.conf

@ -4,7 +4,7 @@ location /opennet/wiki { @@ -4,7 +4,7 @@ location /opennet/wiki {
proxy_pass https://wiki.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/wiki/';

2
nginx/opennet/include/locations/www-less.conf → nginx/opennet/locations/www-less.conf

@ -4,7 +4,7 @@ location /opennet { @@ -4,7 +4,7 @@ location /opennet {
proxy_pass https://opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/';

2
nginx/opennet/include/locations/www.conf → nginx/opennet/locations/www.conf

@ -4,7 +4,7 @@ location /opennet/www { @@ -4,7 +4,7 @@ location /opennet/www {
proxy_pass https://www.opennet.ru/;
# Include common rules
include /etc/nginx/opennet/include/locations/include/common.conf;
include /etc/nginx/opennet/locations/include/common.conf;
# Relative paths
sub_filter 'href="/' 'href="http://[$server_addr]/opennet/www/';
Loading…
Cancel
Save