mirror of
https://github.com/YGGverse/YGGbro.git
synced 2025-01-19 11:20:37 +00:00
14 lines
467 B
Plaintext
14 lines
467 B
Plaintext
location /opennet/cisco {
|
|
|
|
# Domain source
|
|
proxy_pass https://cisco.opennet.ru/;
|
|
|
|
# Include common rules
|
|
include /etc/nginx/opennet/locations/include/common.conf;
|
|
|
|
# Relative paths
|
|
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/';
|
|
sub_filter "url('/" "url('http://[$server_addr]/opennet/cisco/";
|
|
} |