Update docker/main/rootfs/usr/local/nginx/templates/base_path.gotmpl

Co-authored-by: Blake Blackshear <blake.blackshear@gmail.com>
This commit is contained in:
bartbutenaers 2025-03-10 07:21:16 +01:00 committed by GitHub
parent aaaf682748
commit 19061ee844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;