36 lines
648 B
Caddyfile
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 %}
|