From efc2e54b143c2c8e6060ef3270ce99791d1eec94 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 21 Dec 2020 21:30:37 +0100 Subject: [PATCH] fix nginx config --- conf/nginx.conf | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index fc7952b..8c9099c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,14 +5,7 @@ location ^~ __PATH__/ { # Path to source alias __FINALPATH__/public/ ; - location __PATH__/ { - try_files $uri $uri/ =404; - } - - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } + try_files $uri $uri/ =404; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q= last;