From 132a615236930a5c5933c73bebad5157f88d63bb Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 23 May 2023 04:40:55 +0400 Subject: [PATCH] Comment out Onion-Location header because my website is not available as Tor hidden service due to a block in Russia. --- configs/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 63b41b6..dad018d 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -17,7 +17,7 @@ server { add_header X-Content-Type-Options "nosniff"; add_header X-XSS-Protection "1; mode=block"; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; - add_header Onion-Location "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion$request_uri"; +# add_header Onion-Location "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion$request_uri"; location / {