mirror of
https://github.com/YunoHost-Apps/redirect_ynh.git
synced 2024-09-03 20:16:10 +02:00
[fix] HTTP redirection support suburl
This commit is contained in:
parent
c4a203f55e
commit
9adb715e6d
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
location YNH_LOCATION {
|
||||
return 301 YNH_REDIRECT_PATH;
|
||||
}
|
||||
return 301 YNH_REDIRECT_PATH$request_uri;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
location YNH_LOCATION {
|
||||
return 302 YNH_REDIRECT_PATH;
|
||||
}
|
||||
return 302 YNH_REDIRECT_PATH$request_uri;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue