From 61f1865d2a5448dccbdb87fee0781fb66a71f9fa Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Wed, 19 Nov 2025 12:05:33 +0300 Subject: [PATCH 1/3] Trim prefix '/' from proxy path --- server/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handlers.go b/server/handlers.go index 4f1b16ac..ab26667d 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -771,7 +771,7 @@ func resolveWebAddress(r *http.Request, proxyPath string, proxyPort string) stri webAddress = fmt.Sprintf("%s://%s/%s", rUrl.ResolveReference(rUrl).Scheme, rUrl.ResolveReference(rUrl).Host, - proxyPath) + strings.TrimPrefix(proxyPath, "/")) } return webAddress From f2891ef8c4eecf48a22a3824ab4cba3961eac07e Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Wed, 19 Nov 2025 12:06:37 +0300 Subject: [PATCH 2/3] doc: Prefix 'v' in docker image tags --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ffd8c68..221c25ad 100644 --- a/README.md +++ b/README.md @@ -300,8 +300,8 @@ nightly| Scheduled CI build every midnight UTC nightly-noroot| Scheduled CI build every midnight UTC using [no root] edge| Latest CI build after every commit on `main` edge-noroot| Latest CI build after every commit on `main` using [no root] -x.y.z| CI build after tagging a release -x.y.z-noroot| CI build after tagging a release using [no root] +v`x.y.z`| CI build after tagging a release +v`x.y.z`-noroot| CI build after tagging a release using [no root]
From ce3da8e370223374389a31c554aa3ea30b3579ce Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Wed, 19 Nov 2025 19:01:27 +0300 Subject: [PATCH 3/3] doc(readme): mention trimming of / prefix in proxy path setting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 221c25ad..2bc0fc89 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ ip-whitelist | comma separated list of ips allowed to connect to the service ip-blacklist | comma separated list of ips not allowed to connect to the service | | IP_BLACKLIST | temp-path | path to temp folder | system temp | TEMP_PATH | web-path | path to static web files (for development or custom front end) | | WEB_PATH | -proxy-path | path prefix when service is run behind a proxy | | PROXY_PATH | +proxy-path | path prefix when service is run behind a proxy (a `/` prefix will be trimmed) | | PROXY_PATH | proxy-port | port of the proxy when the service is run behind a proxy | | PROXY_PORT | email-contact | email contact for the front end | | EMAIL_CONTACT | ga-key | google analytics key for the front end | | GA_KEY |