Caddy: /me route matches the bare path too (gateway identity call fell through to copyparty)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
10
configure.py
10
configure.py
@@ -168,8 +168,9 @@ def write_caddy(domain, auth_host="", watch_host="", git_host="", bot_host="", l
|
|||||||
# vanguard:live
|
# vanguard:live
|
||||||
{live_host} {{
|
{live_host} {{
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
{gate(env.get("LIVE_REQUIRE_GROUP", ""))} handle /me/* {{
|
{gate(env.get("LIVE_REQUIRE_GROUP", ""))} @me path /me /me/*
|
||||||
reverse_proxy 127.0.0.1:8080 # dumpd: /me/stream-token for the logged-in streamer (Go Live)
|
handle @me {{
|
||||||
|
reverse_proxy 127.0.0.1:8080 # dumpd: identity + /me/stream-token for the logged-in streamer (Go Live)
|
||||||
}}
|
}}
|
||||||
handle /time {{
|
handle /time {{
|
||||||
reverse_proxy 127.0.0.1:8080 # server clock for the timecode strip
|
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* {{
|
handle /dump* {{
|
||||||
reverse_proxy 127.0.0.1:8080
|
reverse_proxy 127.0.0.1:8080
|
||||||
}}
|
}}
|
||||||
handle /me/* {{
|
@me path /me /me/*
|
||||||
reverse_proxy 127.0.0.1:8080
|
handle @me {{
|
||||||
|
reverse_proxy 127.0.0.1:8080 # dumpd: identity, stream tokens, clips self-service
|
||||||
}}
|
}}
|
||||||
handle /time {{
|
handle /time {{
|
||||||
reverse_proxy 127.0.0.1:8080 # server clock for the timecode strip
|
reverse_proxy 127.0.0.1:8080 # server clock for the timecode strip
|
||||||
|
|||||||
Reference in New Issue
Block a user