1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digitranscode_ynh.git synced 2024-09-03 18:25:59 +02:00

Trying return

This commit is contained in:
Melchisedech 2022-03-04 00:46:48 +01:00 committed by GitHub
parent f5f1771ded
commit 24bfb4b43e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,10 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location ^~ __PATH__/ {
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
rewrite ^(.*)$ $1?lang=__LANGUAGE__ break;
return 301 __FINALPATH__/%23/?lang=__LANGUAGE__;
### Example PHP configuration (remove it if not used)
# index index.php;