diff options
-rw-r--r-- | nginx.conf | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -3,19 +3,6 @@ server { listen [::]:80; server_name pig.observer; - set $RD ""; - if ($scheme = http) { - set $RD Y; - } - - if ($host = pig.observer) { - set $RD "${RD}Y"; - } - - if ($RD = YY) { - return 301 https://$host$request_uri; - } - add_header Onion-Location http://y4b244ai6krmmd6kjjiptqibjb4rvgf7lpeobhpk3j5vkvhqytt6ulyd.onion$request_uri; charset utf-8; |