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-04 00:25:43 +01:00 committed by GitHub
parent dff5841daf
commit 951da6635b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@ location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/ ; alias __FINALPATH__/ ;
rewrite ^(.*)$ $1?lang=__LANGUAGE__ break;
### Example PHP configuration (remove it if not used) ### Example PHP configuration (remove it if not used)
# index index.php; # index index.php;
@ -10,8 +11,6 @@ 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;
rewrite ^(.*)$ $1?lang=__LANGUAGE__ break;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;