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
dff5841daf
commit
951da6635b
1 changed files with 1 additions and 2 deletions
|
@ -3,14 +3,13 @@ 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;
|
||||||
|
|
||||||
# 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(/|$) {
|
||||||
|
|
Loading…
Reference in a new issue