Mirror from bluesky-social/pds

caddy: add the now-required ask url for on-demand TLS

Changed files
+8 -5
+8 -5
installer.sh
··· 293 293 echo "* Creating Caddy config file" 294 294 cat <<CADDYFILE >"${PDS_DATADIR}/caddy/etc/caddy/Caddyfile" 295 295 { 296 - email ${PDS_ADMIN_EMAIL} 296 + email ${PDS_ADMIN_EMAIL} 297 + on_demand_tls { 298 + ask http://localhost:3000 299 + } 297 300 } 298 301 299 302 *.${PDS_HOSTNAME}, ${PDS_HOSTNAME} { 300 - tls { 301 - on_demand 302 - } 303 - reverse_proxy http://localhost:3000 303 + tls { 304 + on_demand 305 + } 306 + reverse_proxy http://localhost:3000 304 307 } 305 308 CADDYFILE 306 309