mirror of
https://github.com/YunoHost-Apps/digiwords_ynh.git
synced 2024-09-03 18:26:11 +02:00
Update nginx.conf
This commit is contained in:
parent
bad5f0d3b1
commit
f4fd92a427
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ 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 50M;
|
#client_max_body_size 50M;
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri/\#/?lang=en;
|
||||||
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