Files
atproto-pds-ansible/templates/Caddyfile.j2
T
2026-11-04 16:55:41 -05:00

36 lines
648 B
Caddyfile

{
email {{ pds_admin_email }}
on_demand_tls {
ask http://localhost:3000/tls-check
}
}
*.{{ pds_hostname }}, {{ pds_hostname }} {
tls {
on_demand
}
log {
output stdout
format json
}
reverse_proxy http://localhost:3000
}
{% if pds_operator_enabled is defined and pds_operator_enabled | bool %}
{{ pds_operator_hostname }} {
log {
output stdout
format json
}
reverse_proxy http://localhost:8787
}
{% endif %}
{% if pds_cities_enabled is defined and pds_cities_enabled | bool %}
{{ pds_cities_hostname }} {
log {
output stdout
format json
}
reverse_proxy http://localhost:4100
}
{% endif %}