1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/processwire_ynh.git synced 2024-09-03 20:06:37 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-12-20 09:52:25 +01:00
parent 3462dd6110
commit 292e48a7c1

View file

@ -9,7 +9,7 @@ location __PATH__/ {
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 100M;
try_files $uri $uri/ /index.php?it=$uri&$args;
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;