From b982852a79fae1f44e2ef5d4966871d460bb0cc0 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 6 Nov 2021 02:11:35 +0700 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e731947..302fa9c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,8 @@ -location / { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { + + # Path to source + alias __FINALPATH__/ ; # Force usage of https if ($scheme = http) {