mirror of https://github.com/YGGverse/YGGbro.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
467 B
14 lines
467 B
1 year ago
|
location /opennet/linux {
|
||
|
|
||
|
# Domain source
|
||
|
proxy_pass https://linux.opennet.ru/;
|
||
|
|
||
|
# Include common rules
|
||
1 year ago
|
include /etc/nginx/opennet/locations/include/common.conf;
|
||
1 year ago
|
|
||
|
# Relative paths
|
||
|
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/';
|
||
|
sub_filter "url('/" "url('http://[$server_addr]/opennet/linux/";
|
||
|
}
|