paperless: bypass Authentik forward-auth for /api/* so mobile apps (own token auth) can work
This commit is contained in:
16
Caddyfile
16
Caddyfile
@@ -45,11 +45,17 @@ git.hubris.network {
|
||||
}
|
||||
|
||||
paperless.hubris.network {
|
||||
import authentik
|
||||
tls {
|
||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||
}
|
||||
reverse_proxy 192.168.8.130:8000
|
||||
tls {
|
||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||
}
|
||||
@api path /api/*
|
||||
handle @api {
|
||||
reverse_proxy 192.168.8.130:8000
|
||||
}
|
||||
handle {
|
||||
import authentik
|
||||
reverse_proxy 192.168.8.130:8000
|
||||
}
|
||||
}
|
||||
|
||||
books.hubris.network {
|
||||
|
||||
Reference in New Issue
Block a user