Files
atproto-pds-ansible/templates/Caddyfile.j2
T
gov fa3de78336
Deploy PDS / deploy (push) Canceled after 0s
fix: less opinionated pds operator hostname
2026-09-20 18:17:21 -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 %}
{{ pds_operator_hostname }} {
log {
output stdout
format json
}
reverse_proxy http://localhost:8787
}
{% endif %}