blog: gate only admin/login paths with Authentik; leave public reading open
This commit is contained in:
10
Caddyfile
10
Caddyfile
@@ -137,11 +137,17 @@ sab.hubris.network {
|
||||
}
|
||||
|
||||
blog.hubris.network {
|
||||
import authentik
|
||||
tls {
|
||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||
}
|
||||
reverse_proxy 192.168.8.205:8080
|
||||
@admin path /login* /logout* /me* /admin* /pages/new /import
|
||||
handle @admin {
|
||||
import authentik
|
||||
reverse_proxy 192.168.8.205:8080
|
||||
}
|
||||
handle {
|
||||
reverse_proxy 192.168.8.205:8080
|
||||
}
|
||||
}
|
||||
|
||||
photos.hubris.network {
|
||||
|
||||
Reference in New Issue
Block a user