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 2024-03-07 23:37:53 +01:00
parent ab8c3d6aa7
commit 8c731b5422

View file

@ -9,7 +9,8 @@ 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;
try_files $uri $uri/ /index.php?it=$uri&$args;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;