1
0
Fork 0
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:
Melchisedech 2022-03-03 22:54:28 +01:00 committed by GitHub
parent 7b142bb205
commit bc3cad7c87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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