Files
atproto-pds-ansible/templates/Caddyfile.j2
T
2026-09-18 16:09:30 -04:00

27 lines
453 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 %}
operator.{{ pds_hostname }} {
log {
output stdout
format json
}
reverse_proxy http://localhost:8787
}
{% endif %}