homeserver-iac/roles/caddy/templates/Caddyfile.j2

13 lines
213 B
Caddyfile
Raw Normal View History

2023-08-23 17:31:22 -04:00
{% if "website" in group_names %}
www.{{ domain }} {
root * {{ website_path }}
file_server
}
{% endif %}
2023-08-28 20:34:25 -04:00
{% if groups["gitea"] %}
{{ gitea_domain }} {
reverse_proxy {{ groups["gitea"][0] }}:3000
}
{% endif %}