From ef3a0a3fcd909c034f4daa9bf453654539baf928 Mon Sep 17 00:00:00 2001 From: Brandyn / Techy Date: Sat, 31 Oct 2026 18:03:23 -0500 Subject: [PATCH] Caddy: /me route matches the bare path too (gateway identity call fell through to copyparty) Co-Authored-By: Claude Fable 5.1 --- configure.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.py b/configure.py index edc4acd..a6e59a0 100755 --- a/configure.py +++ b/configure.py @@ -168,8 +168,9 @@ def write_caddy(domain, auth_host="", watch_host="", git_host="", bot_host="", l # vanguard:live {live_host} {{ encode zstd gzip -{gate(env.get("LIVE_REQUIRE_GROUP", ""))} handle /me/* {{ - reverse_proxy 127.0.0.1:8080 # dumpd: /me/stream-token for the logged-in streamer (Go Live) +{gate(env.get("LIVE_REQUIRE_GROUP", ""))} @me path /me /me/* + handle @me {{ + reverse_proxy 127.0.0.1:8080 # dumpd: identity + /me/stream-token for the logged-in streamer (Go Live) }} handle /time {{ reverse_proxy 127.0.0.1:8080 # server clock for the timecode strip @@ -258,8 +259,9 @@ name: {{http.request.header.X-Authentik-Name}}" handle /dump* {{ reverse_proxy 127.0.0.1:8080 }} - handle /me/* {{ - reverse_proxy 127.0.0.1:8080 + @me path /me /me/* + handle @me {{ + reverse_proxy 127.0.0.1:8080 # dumpd: identity, stream tokens, clips self-service }} handle /time {{ reverse_proxy 127.0.0.1:8080 # server clock for the timecode strip