mirror of
https://github.com/YGGverse/YGGbro.git
synced 2026-04-01 18:15:31 +00:00
add more opennet subdomains support, update readme
This commit is contained in:
parent
06cf59c43c
commit
df1484c8ad
13 changed files with 174 additions and 0 deletions
14
nginx/opennet/include/locations/linux.conf
Normal file
14
nginx/opennet/include/locations/linux.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
location /opennet/linux {
|
||||
|
||||
# Domain source
|
||||
proxy_pass https://linux.opennet.ru/;
|
||||
|
||||
# Include common rules
|
||||
include /etc/nginx/opennet/include/locations/include/common.conf;
|
||||
|
||||
# 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/";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue