From e16f5de5cc18500765b60113fca31066be692132 Mon Sep 17 00:00:00 2001 From: lawxen Date: Wed, 12 Jun 2024 14:52:22 +0800 Subject: [PATCH] path return --- default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.conf b/default.conf index be22275..6359ac0 100644 --- a/default.conf +++ b/default.conf @@ -6,7 +6,7 @@ server { #access_log /var/log/nginx/host.access.log main; location = /fake-subdir-placeholder { - return 301 /fake-subdir-placeholder/; + return 301 https://$host/fake-subdir-placeholder/; } location / {