From 011f47076ac2af581d4e9b3ad8c18fdf2377eba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:50:07 +0100 Subject: [PATCH] fix --- conf/nginx.conf | 4 +++- doc/DISCLAIMER.md | 0 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 doc/DISCLAIMER.md diff --git a/conf/nginx.conf b/conf/nginx.conf index 2f0fc5c..161d2f2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,7 +9,9 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 50M; - try_files $uri $uri/ index.php; + rewrite ^/(.*)$ /index.php?q=$1 last; + + try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md deleted file mode 100644 index e69de29..0000000