1
0

navidrome: make apps work with forward auth

This commit is contained in:
2026-05-10 13:36:16 +02:00
parent 92b850088e
commit 911c29cae4
+4 -3
View File
@@ -374,9 +374,10 @@ services:
labels: labels:
caddy: music.${DOMAIN_LOCAL} caddy: music.${DOMAIN_LOCAL}
caddy.reverse_proxy: "{{ upstreams 4533 }}" caddy.reverse_proxy: "{{ upstreams 4533 }}"
caddy.forward_auth: "authentik-server:9000" caddy.@protected.not.path: "/share/* /rest/*"
caddy.forward_auth.uri: "/outpost.goauthentik.io/auth/caddy" caddy.forward_auth_0: "@protected authentik-server:9000"
caddy.forward_auth.copy_headers: "X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name" caddy.forward_auth_0.uri: "/outpost.goauthentik.io/auth/caddy"
caddy.forward_auth_0.copy_headers: "X-Authentik-Username"
environment: environment:
ND_LASTFM_APIKEY: 29e22ee836a0cb51cfaacb72d605e30d ND_LASTFM_APIKEY: 29e22ee836a0cb51cfaacb72d605e30d
ND_LASTFM_SECRET: 10aa58294eeffa142685e78a0cd78ad6 ND_LASTFM_SECRET: 10aa58294eeffa142685e78a0cd78ad6