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-04 08:55:21 +01:00 committed by GitHub
parent c130e58d3a
commit 5846390138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;