mirror of
https://github.com/YGGverse/YGGbro.git
synced 2026-04-03 02:55:30 +00:00
update namespaces
This commit is contained in:
parent
1bcd1d943a
commit
3a9a30b11f
61 changed files with 857 additions and 856 deletions
|
|
@ -0,0 +1,29 @@
|
|||
server {
|
||||
|
||||
# .ygg supports yggdrasil addresses only
|
||||
listen [::]:80;
|
||||
|
||||
allow 0200::/7;
|
||||
deny all;
|
||||
|
||||
server_name opennet.ru.bro.ygg;
|
||||
|
||||
# Include handles (do not delete)
|
||||
include /etc/yggbro/nginx/opennet.ru/opennet.ru.bro.ygg/handles/redirect.conf;
|
||||
|
||||
location / {
|
||||
|
||||
# Domain source
|
||||
proxy_pass https://opennet.ru/;
|
||||
|
||||
# Include common location rules
|
||||
include /etc/yggbro/nginx/opennet.ru/opennet.ru.bro.ygg/locations/include/common.conf;
|
||||
|
||||
# Relative paths
|
||||
sub_filter 'action="/' 'action="http://opennet.ru.bro.ygg/';
|
||||
sub_filter 'href="/' 'href="http://opennet.ru.bro.ygg/';
|
||||
sub_filter 'src="/' 'src="http://opennet.ru.bro.ygg/';
|
||||
sub_filter 'data-src="/' 'src="http://opennet.ru.bro.ygg/';
|
||||
sub_filter "url('/" "url('http://opennet.ru.bro.ygg/";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue