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
c130e58d3a
commit
5846390138
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
||||||
rewrite ^(.*)$ https://__DOMAIN____PATH_URL__/%23/?lang=__LANGUAGE__ break;
|
if ($args !~* lang=__LANGUAGE__){
|
||||||
|
rewrite ^(.*)$ https://__DOMAIN____PATH_URL__/%23/?lang=__LANGUAGE__ last;
|
||||||
|
}
|
||||||
|
|
||||||
### Example PHP configuration (remove it if not used)
|
### Example PHP configuration (remove it if not used)
|
||||||
# index index.php;
|
# index index.php;
|
||||||
|
|
Loading…
Reference in a new issue