ansible-collection-caddy/roles/caddy/templates/Caddyfile.j2

18 lines
277 B
Text
Raw Normal View History

{% if caddy_use_local_certs %}
{
local_certs
}
{% endif %}
{% for site in caddy_sites %}
{{ site.name }} {
{% if site.directives is defined %}
{{ site.directives }}
{% endif %}
{% if site.proxy_to is defined %}
reverse_proxy {{ site.proxy_to }}
{% endif %}
}
{% endfor %}