From d97183a6bcb7cc328060cb91f2925a33898abad9 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 6 Nov 2021 14:28:05 +0700 Subject: [PATCH] Revert "Update nginx.conf" This reverts commit c3004b641a6aa94ba4e246190329fbe5037a1d03. --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 79d8bad..302fa9c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,5 @@ -location / { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { # Path to source alias __FINALPATH__/ ; @@ -19,4 +20,4 @@ location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; -} +} \ No newline at end of file