diff --git a/conf.d/00website.conf b/conf.d/00website.conf index 6c53039..89f3e67 100644 --- a/conf.d/00website.conf +++ b/conf.d/00website.conf @@ -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/(?[\w-]+)/(?[\w-]+)(?/.*)?$ { @@ -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;