From d0e8162272d62429afea49de07a3ad67cde66985 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sun, 20 Jul 2014 14:09:59 +0200 Subject: [PATCH] [fix] Do not force HTTPS (done by SSOwat) --- conf/nginx.conf-nosub | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/conf/nginx.conf-nosub b/conf/nginx.conf-nosub index 9a0fd70..954771d 100644 --- a/conf/nginx.conf-nosub +++ b/conf/nginx.conf-nosub @@ -1,9 +1,6 @@ location / { - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } proxy_pass http://localhost:9001/; proxy_set_header Host $host; - # be carefull, this line doesn't override any proxy_buffering on set in a conf.d/file.conf + # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf proxy_buffering off; }