feat: add authentik forward-auth gate for media.hubris.network (API bypass for apps)
This commit is contained in:
15
Caddyfile
15
Caddyfile
@@ -39,7 +39,16 @@ media.hubris.network {
|
||||
tls {
|
||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||
}
|
||||
# API and streaming paths — no Authentik (Jellyfin apps use their own auth)
|
||||
@api path /api/* /socket /Audio/* /Videos/* /Items/* /Users/* /Sessions/* /System/* /LiveTv/* /Music/* /Artists/* /Albums/* /Playlists/* /Images/* /Subtitle* /videos/* /audio/*
|
||||
handle @api {
|
||||
reverse_proxy 192.168.8.206:8096
|
||||
}
|
||||
# Web UI — gated behind Authentik
|
||||
handle {
|
||||
import authentik
|
||||
reverse_proxy 192.168.8.206:8096
|
||||
}
|
||||
}
|
||||
|
||||
git.hubris.network {
|
||||
@@ -282,9 +291,5 @@ teddy.hubris.network {
|
||||
tls {
|
||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||
}
|
||||
reverse_proxy https://192.168.8.243:8443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
reverse_proxy 192.168.8.243:8080
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user