tangled
alpha
login
or
join now
vicwalker.dev.br
/
pds-mirror
0
fork
atom
Mirror from bluesky-social/pds
0
fork
atom
overview
issues
pulls
pipelines
caddy: add the now-required ask url for on-demand TLS
Jake Gold
2 years ago
6e511748
627e64da
+8
-5
1 changed file
expand all
collapse all
unified
split
installer.sh
+8
-5
installer.sh
···
293
293
echo "* Creating Caddy config file"
294
294
cat <<CADDYFILE >"${PDS_DATADIR}/caddy/etc/caddy/Caddyfile"
295
295
{
296
296
-
email ${PDS_ADMIN_EMAIL}
296
296
+
email ${PDS_ADMIN_EMAIL}
297
297
+
on_demand_tls {
298
298
+
ask http://localhost:3000
299
299
+
}
297
300
}
298
301
299
302
*.${PDS_HOSTNAME}, ${PDS_HOSTNAME} {
300
300
-
tls {
301
301
-
on_demand
302
302
-
}
303
303
-
reverse_proxy http://localhost:3000
303
303
+
tls {
304
304
+
on_demand
305
305
+
}
306
306
+
reverse_proxy http://localhost:3000
304
307
}
305
308
CADDYFILE
306
309