From f5f1771ded87cfb4f4b10663ff096d213db295a2 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Fri, 4 Mar 2022 00:34:16 +0100 Subject: [PATCH] Alias and rewrite playing nice together? --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ec1c56b..f57f8e2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__/ { +location ^~ __PATH__/ { # Path to source alias __FINALPATH__/ ;