Merge branch 'main' of git.bizmatch.net:aknuth/caddy-standalone

This commit is contained in:
2026-04-28 19:13:57 +02:00

View File

@@ -22,7 +22,7 @@ www.bizmatch.net, bizmatch.net {
root * /home/aknuth/git/bizmatch-project/bizmatch-server root * /home/aknuth/git/bizmatch-project/bizmatch-server
file_server file_server
} }
handle { handle {
reverse_proxy bizmatch-ssr:4000 reverse_proxy bizmatch-ssr:4000
} }
@@ -43,14 +43,21 @@ auth.bizmatch.net {
############## ##############
##### INNUNGSAPP ##### INNUNGSAPP
############## ##############
www.innungsapp.com, innungsapp.com { *.innungsapp.com, innungsapp.com {
# Nutzt die oben definierte Cloudflare DNS-Challenge
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
handle { handle {
reverse_proxy innungsapp-admin:3000 reverse_proxy innungsapp-admin:3000
} }
log { log {
output file /var/log/caddy/innungsapp.log output file /var/log/caddy/innungsapp.log
format console format console
} }
encode gzip encode gzip
} }
@@ -117,16 +124,16 @@ annavillesda.org {
handle /api/* { handle /api/* {
reverse_proxy host.docker.internal:3070 reverse_proxy host.docker.internal:3070
} }
# Frontend requests to Nginx container # Frontend requests to Nginx container
handle { handle {
reverse_proxy host.docker.internal:3071 reverse_proxy host.docker.internal:3071
} }
log { log {
output file /var/log/caddy/annaville.access.log output file /var/log/caddy/annaville.access.log
} }
encode gzip encode gzip
} }
@@ -147,7 +154,7 @@ bayarea-cc.com {
handle { handle {
reverse_proxy host.docker.internal:3072 reverse_proxy host.docker.internal:3072
} }
log { log {
output file /var/log/caddy/bayarea.access.log output file /var/log/caddy/bayarea.access.log
} }