hopefully fix tor/i2p wiki subsfilter
This commit is contained in:
parent
5b7ec0fef5
commit
fd0fd6428c
|
@ -28,7 +28,8 @@ server {
|
||||||
return 301 http://verndnomc4cnte4aw7yrfpse33vrw2nlwoxozxmf77zqquk6ea7q.b32.i2p$request_uri;
|
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;
|
include common/website.conf;
|
||||||
|
|
||||||
location ~ ^/socks/(?<user>[\w-]+)/(?<site>[\w-]+)(?<user_uri>/.*)?$ {
|
location ~ ^/socks/(?<user>[\w-]+)/(?<site>[\w-]+)(?<user_uri>/.*)?$ {
|
||||||
|
@ -94,6 +95,7 @@ server {
|
||||||
location /_matrix {
|
location /_matrix {
|
||||||
return 301 http://mtrx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
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";
|
subs_filter "wiki.vern.cc" "wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
|
||||||
|
|
||||||
include common/website.conf;
|
include common/website.conf;
|
||||||
|
@ -118,6 +120,7 @@ server {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
return 200 '{"m.homeserver": {"base_url": "http://mtrx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"}}';
|
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";
|
subs_filter "wiki.vern.cc" "wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
|
||||||
|
|
||||||
include common/website.conf;
|
include common/website.conf;
|
||||||
|
|
Loading…
Reference in New Issue