ansible-caddy/roles/install/templates/etc/caddy/Caddyfile.j2
GregoryDosh 8d2bc9806f
All checks were successful
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Successful in 4s
chore: restructure templates to include destination dir
2025-11-18 17:22:03 -06:00

23 lines
834 B
Django/Jinja

# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2025 Dosh LLC
{
import {{ CADDY_CONFIG_PATH }}/globals
}
https://{{ inventory_hostname_short }}.auengun.net, https://{{ inventory_hostname_short }}.virt.auengun.net {
import {{ CADDY_CONFIG_PATH }}/waf
log
import {{ CADDY_CONFIG_PATH }}/redirect_bad_actors
import {{ CADDY_CONFIG_PATH }}/basic_ratelimit
import {{ CADDY_CONFIG_PATH }}/wellknown_security
import {{ CADDY_CONFIG_PATH }}/authentik_auth_proxy
import {{ CADDY_CONFIG_PATH }}/cors https://{{ inventory_hostname_short }}.auengun.net
import {{ CADDY_CONFIG_PATH }}/cors https://{{ inventory_hostname_short }}.virt.auengun.net
reverse_proxy https://{{ inventory_hostname_short }}:8443 {
transport http {
tls_trust_pool file {
pem_file {{ CADDY_CONFIG_PATH }}/ca-root.crt
}
}
}
}