aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx.conf13
1 files changed, 0 insertions, 13 deletions
diff --git a/nginx.conf b/nginx.conf
index ab33a90..76f33f1 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -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;