1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digitranscode_ynh.git synced 2024-09-03 18:25:59 +02:00

Update nginx.conf

This commit is contained in:
Melchisedech 2022-03-03 22:27:04 +01:00 committed by GitHub
parent bad5f0d3b1
commit f4fd92a427
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 $uri/ index.php;
try_files $uri/\#/?lang=en;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;