hopefully fix tor/i2p wiki subsfilter

This commit is contained in:
root 2022-11-23 15:14:12 +00:00
parent 5b7ec0fef5
commit fd0fd6428c
1 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,8 @@ server {
return 301 http://verndnomc4cnte4aw7yrfpse33vrw2nlwoxozxmf77zqquk6ea7q.b32.i2p$request_uri;
}
# subs_filter "wiki.vern.cc" "vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p"
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "wiki.vern.cc" "vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p"
include common/website.conf;
location ~ ^/socks/(?<user>[\w-]+)/(?<site>[\w-]+)(?<user_uri>/.*)?$ {
@ -94,6 +95,7 @@ server {
location /_matrix {
return 301 http://mtrx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
}
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "wiki.vern.cc" "wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
include common/website.conf;
@ -118,6 +120,7 @@ server {
add_header Access-Control-Allow-Origin *;
return 200 '{"m.homeserver": {"base_url": "http://mtrx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"}}';
}
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "wiki.vern.cc" "wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
include common/website.conf;