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:
parent
dff5841daf
commit
951da6635b
1 changed files with 1 additions and 2 deletions
|
@ -3,6 +3,7 @@ location __PATH__/ {
|
|||
|
||||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
rewrite ^(.*)$ $1?lang=__LANGUAGE__ break;
|
||||
|
||||
### Example PHP configuration (remove it if not used)
|
||||
# index index.php;
|
||||
|
@ -10,8 +11,6 @@ location __PATH__/ {
|
|||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
#client_max_body_size 50M;
|
||||
|
||||
rewrite ^(.*)$ $1?lang=__LANGUAGE__ break;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
Loading…
Reference in a new issue