From 67a67140754be7c65723ad653ced486774ed4fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 12 Jan 2024 11:08:55 +0100 Subject: [PATCH] Remove duplicate line in nginx configuration --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6ccf495..1adee97 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,14 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/__NAME__/; + index index.php; + if (!-e $request_filename) { rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last; } - index index.php; - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 500M;