ansible-caddy/roles/install/templates/etc/caddy/globals.j2
GregoryDosh 0c2dec049d
All checks were successful
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Successful in 4s
feat: add cloudflare cf token & internal tls templates, split https autoredirect, bump caddy ver
2025-12-03 16:30:27 -06:00

14 lines
446 B
Django/Jinja

# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2025 Dosh LLC
{% if CADDY_CONFIG_GLOBALS_DISABLE_HTTP %}
auto_https disable_redirects
{%- endif %}
servers {
trusted_proxies static private_ranges
client_ip_headers CF-Connecting-IP
}
email {{ inventory_hostname_short }}@auengun.net
acme_ca https://ca.auengun.net/acme/{{ STEP_CERTS_ACME_CA_PROVISIONER }}/directory
acme_ca_root {{ CADDY_CONFIG_PATH }}/ca-root.crt