From efd79d42f3a6b4fdd01b5c4c6cf81606e0de03c4 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 23 Nov 2020 14:15:07 +0100 Subject: [PATCH] delete useless location in nginx.conf --- conf/nginx.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index a26d0a0..39a7d56 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,19 +8,7 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - location ~ 403 { - rewrite ^(.*)$ /include/ redirect; - rewrite ^(.*)$ /cache/ redirect; - rewrite ^(.*)$ /plugins/ redirect; - rewrite ^(.*)$ /templates/ redirect; - rewrite ^(.*)$ /.*.sqlite redirect; - rewrite ^(.*)$ /.*.log redirect; - rewrite ^(.*)$ /(README|VERSION|COPYING) redirect; - rewrite ^(.*)$ /config\.(.*)\.php redirect; - } - index index.php /_route.php; - try_files $uri $uri/ __PATH__/__PATH__/_route.php?$query_string; location ~ \.php$ {