mirror of
https://github.com/YGGverse/YGGbro.git
synced 2026-03-31 17:45:36 +00:00
update config tree for opennet
This commit is contained in:
parent
14076f0543
commit
f73da3f761
15 changed files with 27 additions and 27 deletions
14
nginx/opennet/locations/m.conf
Normal file
14
nginx/opennet/locations/m.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
location /opennet/m {
|
||||
|
||||
# Domain source
|
||||
proxy_pass https://m.opennet.ru/;
|
||||
|
||||
# Include common rules
|
||||
include /etc/nginx/opennet/locations/include/common.conf;
|
||||
|
||||
# Relative paths
|
||||
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/';
|
||||
sub_filter "url('/" "url('http://[$server_addr]/opennet/m/";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue