From b0ffe1939ebca4a5f87f09dbf9b7dc2962107c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Mon, 23 May 2016 12:35:48 +0200 Subject: [PATCH] [fix] Do not force HTTPS until Let's Encrypt is supported at least --- conf/nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1e3d865..32c517c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,6 @@ location {LOCATION} { alias {DESTDIR}/www/; - # Force HTTPS - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # Default indexes and catch-all index index.html index.php; try_files $uri $uri/ {PATH}/index.php?$args;