1
0
Fork 0

Returned Onion-Location header, and removed a separate I2P listen statement.

This commit is contained in:
Alexander Andreev 2023-08-01 16:44:30 +04:00
parent 5590b0ad71
commit 084872be61
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
server {
listen 443 ssl http2;
# listen 8094; # Tor
listen 127.0.0.1:8114; # I2P
listen 8094; # Tor I2P
listen [300:a98d:d6d0:8a08::c]:80; # Yggdrasil
server_name upload.arav.su upload.arav.i2p;
@ -16,7 +15,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://.onion$request_uri";
add_header Onion-Location "http://4usftbmjpfexkr2x5xbp5ukmygpmg4fgrnx2wbifsexqctooz5hmviyd.onion$request_uri";
location / {