From 9adb715e6dc23f6f776e8542dd2b9d34052278a0 Mon Sep 17 00:00:00 2001 From: ljf Date: Fri, 26 Jun 2020 13:40:10 +0200 Subject: [PATCH] [fix] HTTP redirection support suburl --- conf/nginx-visible-301.conf | 4 ++-- conf/nginx-visible-302.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx-visible-301.conf b/conf/nginx-visible-301.conf index 99802a0..2b3ffb6 100644 --- a/conf/nginx-visible-301.conf +++ b/conf/nginx-visible-301.conf @@ -1,3 +1,3 @@ location YNH_LOCATION { - return 301 YNH_REDIRECT_PATH; -} \ No newline at end of file + return 301 YNH_REDIRECT_PATH$request_uri; +} diff --git a/conf/nginx-visible-302.conf b/conf/nginx-visible-302.conf index 1f3c40c..e1ffc66 100644 --- a/conf/nginx-visible-302.conf +++ b/conf/nginx-visible-302.conf @@ -1,3 +1,3 @@ location YNH_LOCATION { - return 302 YNH_REDIRECT_PATH; -} \ No newline at end of file + return 302 YNH_REDIRECT_PATH$request_uri; +}