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:
parent
f5f1771ded
commit
24bfb4b43e
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
#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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue