From 73fee3ee4e6fde14c454854ee6a08c2c684ab7a8 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 7 Apr 2014 12:15:09 +0200 Subject: [PATCH] remove redirect to https. blog accessible in http. admin in https through sso protected setting --- conf/nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2acb5b1..f96e1c6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,8 +1,4 @@ location YNH_LOCATION { - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host;