diff --git a/nginx/opennet/locations/bsd.conf b/nginx/opennet/locations/bsd.conf index c3eee78..38614eb 100644 --- a/nginx/opennet/locations/bsd.conf +++ b/nginx/opennet/locations/bsd.conf @@ -7,6 +7,7 @@ location /opennet/bsd { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/bsd/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/bsd/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/bsd/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/bsd/'; diff --git a/nginx/opennet/locations/cisco.conf b/nginx/opennet/locations/cisco.conf index ca4a4f8..d524453 100644 --- a/nginx/opennet/locations/cisco.conf +++ b/nginx/opennet/locations/cisco.conf @@ -7,6 +7,7 @@ location /opennet/cisco { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/cisco/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/cisco/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/cisco/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/cisco/'; diff --git a/nginx/opennet/locations/grab.conf b/nginx/opennet/locations/grab.conf index 2a0b8fb..4878b42 100644 --- a/nginx/opennet/locations/grab.conf +++ b/nginx/opennet/locations/grab.conf @@ -7,6 +7,7 @@ location /opennet/grab { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/grab/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/grab/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/grab/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/grab/'; diff --git a/nginx/opennet/locations/linux.conf b/nginx/opennet/locations/linux.conf index 887fe31..c19a72f 100644 --- a/nginx/opennet/locations/linux.conf +++ b/nginx/opennet/locations/linux.conf @@ -7,6 +7,7 @@ location /opennet/linux { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/linux/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/linux/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/linux/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/linux/'; diff --git a/nginx/opennet/locations/m.conf b/nginx/opennet/locations/m.conf index d220a6f..170c319 100644 --- a/nginx/opennet/locations/m.conf +++ b/nginx/opennet/locations/m.conf @@ -7,6 +7,7 @@ location /opennet/m { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/m/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/m/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/m/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/m/'; diff --git a/nginx/opennet/locations/mobile.conf b/nginx/opennet/locations/mobile.conf index 049fa5c..97b3487 100644 --- a/nginx/opennet/locations/mobile.conf +++ b/nginx/opennet/locations/mobile.conf @@ -7,6 +7,7 @@ location /opennet/mobile { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/mobile/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/mobile/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/mobile/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/mobile/'; diff --git a/nginx/opennet/locations/palm.conf b/nginx/opennet/locations/palm.conf index 38d24a7..0567dd8 100644 --- a/nginx/opennet/locations/palm.conf +++ b/nginx/opennet/locations/palm.conf @@ -7,6 +7,7 @@ location /opennet/palm { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/palm/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/palm/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/palm/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/palm/'; diff --git a/nginx/opennet/locations/security.conf b/nginx/opennet/locations/security.conf index 7e7241a..a5e6305 100644 --- a/nginx/opennet/locations/security.conf +++ b/nginx/opennet/locations/security.conf @@ -7,6 +7,7 @@ location /opennet/security { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/security/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/security/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/security/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/security/'; diff --git a/nginx/opennet/locations/solaris.conf b/nginx/opennet/locations/solaris.conf index 1d1f6a9..83c82b1 100644 --- a/nginx/opennet/locations/solaris.conf +++ b/nginx/opennet/locations/solaris.conf @@ -7,6 +7,7 @@ location /opennet/solaris { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/solaris/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/solaris/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/solaris/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/solaris/'; diff --git a/nginx/opennet/locations/web.conf b/nginx/opennet/locations/web.conf index 06719dd..1c8d17d 100644 --- a/nginx/opennet/locations/web.conf +++ b/nginx/opennet/locations/web.conf @@ -7,6 +7,7 @@ location /opennet/web { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/web/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/web/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/web/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/web/'; diff --git a/nginx/opennet/locations/wiki.conf b/nginx/opennet/locations/wiki.conf index d38fa7f..512fa3c 100644 --- a/nginx/opennet/locations/wiki.conf +++ b/nginx/opennet/locations/wiki.conf @@ -7,6 +7,7 @@ location /opennet/wiki { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/wiki/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/wiki/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/wiki/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/wiki/'; diff --git a/nginx/opennet/locations/www-less.conf b/nginx/opennet/locations/www-less.conf index 2ce86da..8140d0f 100644 --- a/nginx/opennet/locations/www-less.conf +++ b/nginx/opennet/locations/www-less.conf @@ -7,6 +7,7 @@ location /opennet { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/opennet/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/'; diff --git a/nginx/opennet/locations/www.conf b/nginx/opennet/locations/www.conf index 12adb30..ad3cd89 100644 --- a/nginx/opennet/locations/www.conf +++ b/nginx/opennet/locations/www.conf @@ -7,6 +7,7 @@ location /opennet/www { include /etc/nginx/opennet/locations/include/common.conf; # Relative paths + sub_filter 'action="/' 'action="http://[$server_addr]/opennet/www/'; sub_filter 'href="/' 'href="http://[$server_addr]/opennet/www/'; sub_filter 'src="/' 'src="http://[$server_addr]/opennet/www/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/opennet/www/';