Improve infrastructure configuration and installation logic
- Fix authentik Caddy template to use localhost instead of variable for consistency - Improve Caddy installation logic with better conditional checks - Fix version checking and plugin detection for more reliable deployments - Add cleanup task condition for DNS challenge installations These changes improve deployment reliability and consistency.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Authentik Authentication Service
|
||||
{{ authentik_domain }} {
|
||||
reverse_proxy http://{{ authentik_bind_address }}:{{ authentik_http_port }} {
|
||||
reverse_proxy http://127.0.0.1:{{ authentik_http_port }} {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Forwarded-Proto https
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
# Authentik-specific paths
|
||||
handle_path /outpost.goauthentik.io/* {
|
||||
reverse_proxy http://{{ authentik_bind_address }}:{{ authentik_http_port }}
|
||||
reverse_proxy http://127.0.0.1:{{ authentik_http_port }}
|
||||
}
|
||||
|
||||
# Logging
|
||||
|
||||
Reference in New Issue
Block a user