diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-03 18:47:56 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-03 18:47:56 -0600 |
commit | dca4d795198657235dad816f20ed6eb8c78e1b8d (patch) | |
tree | c05ad8dfc632aab82c85ebe34f1c8a15da3d1152 | |
parent | 849041643160ecce8d3b554b7df4f3290a61c48b (diff) | |
download | pig.observer-dca4d795198657235dad816f20ed6eb8c78e1b8d.tar.gz pig.observer-dca4d795198657235dad816f20ed6eb8c78e1b8d.zip |
don't handle SSL ourselves oops, part 2
-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; |