[fix] HTTP redirection support suburl

This commit is contained in:
ljf 2020-06-26 13:40:10 +02:00
parent c4a203f55e
commit 9adb715e6d
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
location YNH_LOCATION {
return 301 YNH_REDIRECT_PATH;
}
return 301 YNH_REDIRECT_PATH$request_uri;
}

View file

@ -1,3 +1,3 @@
location YNH_LOCATION {
return 302 YNH_REDIRECT_PATH;
}
return 302 YNH_REDIRECT_PATH$request_uri;
}