Returned Onion-Location header, and removed a separate I2P listen statement.
This commit is contained in:
parent
5590b0ad71
commit
084872be61
@ -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 / {
|
||||
|
Loading…
Reference in New Issue
Block a user