docker/caddy/Caddyfile

60 lines
1.1 KiB
Caddyfile

{
acme_dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
bizmatch.net {
reverse_proxy bizmatch:8090
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
www.bizmatch.net {
reverse_proxy bizmatch:8090
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
auth.bizmatch.net {
reverse_proxy bizmatch:8080
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
gitea.bizmatch.net {
reverse_proxy bizmatch:3500
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
dev.bizmatch.net {
root * /srv
file_server
try_files {path} {path}/ /index.html
encode gzip
handle /pictures/* {
root * /home/aknuth/git/bizmatch-project/bizmatch-server
file_server
}
log {
output file /var/log/caddy/access.log {
roll_size 10MB
roll_keep 5
roll_keep_for 48h
}
}
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
api-dev.bizmatch.net {
reverse_proxy host.docker.internal:3000
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}