mirror of
https://github.com/YunoHost-Apps/reverseproxy_ynh.git
synced 2024-09-03 20:16:23 +02:00
Merge pull request #27 from YunoHost-Apps/fix-http-redirect
[fix] HTTP redirection support suburl
This commit is contained in:
commit
e17fa2d824
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
||||||
location YNH_LOCATION {
|
location YNH_LOCATION {
|
||||||
return 301 YNH_REDIRECT_PATH;
|
return 301 YNH_REDIRECT_PATH$request_uri;
|
||||||
}
|
}
|
|
@ -1,3 +1,3 @@
|
||||||
location YNH_LOCATION {
|
location YNH_LOCATION {
|
||||||
return 302 YNH_REDIRECT_PATH;
|
return 302 YNH_REDIRECT_PATH$request_uri;
|
||||||
}
|
}
|
Loading…
Reference in a new issue