mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
* Added deployment docs * Fix lint --------- Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
44 lines
578 B
Caddyfile
44 lines
578 B
Caddyfile
# Production Caddyfile for appointment booking application
|
|
# Replace your-admin-domain.com with your actual admin domain
|
|
{
|
|
on_demand_tls {
|
|
ask http://app:3000/api/public/domains
|
|
}
|
|
}
|
|
|
|
:443 {
|
|
reverse_proxy app:3000
|
|
|
|
encode gzip
|
|
|
|
log {
|
|
output file /data/access.log {
|
|
roll_size 100mb
|
|
roll_keep 10
|
|
}
|
|
format json
|
|
}
|
|
|
|
tls {
|
|
on_demand
|
|
protocols tls1.2 tls1.3
|
|
}
|
|
}
|
|
|
|
your-admin-domain.com {
|
|
reverse_proxy app:3000
|
|
|
|
encode gzip
|
|
|
|
log {
|
|
output file /data/access.log {
|
|
roll_size 100mb
|
|
roll_keep 10
|
|
}
|
|
format json
|
|
}
|
|
|
|
tls {
|
|
protocols tls1.2 tls1.3
|
|
}
|
|
} |