diff --git a/conf/nginx_no_php.conf b/conf/nginx_no_php.conf index 5367ecf..39a4573 100644 --- a/conf/nginx_no_php.conf +++ b/conf/nginx_no_php.conf @@ -4,11 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/www/; - # Force usage of 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; diff --git a/conf/nginx_with_php.conf b/conf/nginx_with_php.conf index 3f4d62f..723df1b 100644 --- a/conf/nginx_with_php.conf +++ b/conf/nginx_with_php.conf @@ -4,11 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/www/; - # Force usage of 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;