From 405416d91e9717a054df0989367d978273fd7df5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Jun 2022 14:00:25 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 36722c7..483a9a9 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,13 +2,13 @@ location __PATH__/ { # Path to source - alias __FINALPATH__/public/ ; + root __FINALPATH__/public/ ; index index.php; client_max_body_size 50M; - - try_files $uri $uri/ index.php; + + try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;