From 19061ee844a411d3d1ead28feb88588b12a73aeb Mon Sep 17 00:00:00 2001 From: bartbutenaers Date: Mon, 10 Mar 2025 07:21:16 +0100 Subject: [PATCH] Update docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl Co-authored-by: Blake Blackshear --- docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl b/docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl index 91ca85a35..bb4c7392c 100644 --- a/docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl +++ b/docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl @@ -3,7 +3,7 @@ location = {{ .base_path }} { return 302 {{ .base_path }}/; } -location /{{ .base_path }}/ { +location ^~ /{{ .base_path }}/ { # remove base_url from the path before passing upstream rewrite ^/{{ .base_path }}/(.*) /$1 break;