From 2a410084f352a850f0bd0bac3da95a62d899d4cc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 15 May 2022 12:17:00 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5e15e5e..96577b4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,10 +19,10 @@ location __PATH__/ { include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SCRIPT_FILENAME $fastcgi_path_info; } } location @rewrite { - rewrite ^/(.+)$ __PATH__/index.php$is_args$args; + rewrite ^/(.+)$ __PATH__/index.php?page=$1 last; }