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:
parent
ab8c3d6aa7
commit
8c731b5422
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ location __PATH__/ {
|
||||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ /index.php?it=$uri&$args;
|
||||||
|
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||||
|
|
Loading…
Reference in a new issue