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; +}