act. status

This commit is contained in:
2026-04-28 12:07:02 -05:00
parent b404a40b58
commit 3b418a9368

171
Caddyfile
View File

@@ -2,8 +2,17 @@
email {env.CLOUDFLARE_EMAIL} email {env.CLOUDFLARE_EMAIL}
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN} acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
acme_ca https://acme-v02.api.letsencrypt.org/directory acme_ca https://acme-v02.api.letsencrypt.org/directory
debug
} }
:80 {
respond "Caddy alive on new Contabo migration in progress" 200
}
git.bizmatch.net {
handle {
reverse_proxy gitea:3500
}
}
############## ##############
##### BIZMATCH ##### BIZMATCH
############## ##############
@@ -30,21 +39,7 @@ auth.bizmatch.net {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
} }
} }
git.bizmatch.net {
handle {
reverse_proxy gitea:3500
}
}
##############
##### QRMASTER
##############
www.qrmaster.net, qrmaster.net {
handle {
reverse_proxy qrmaster-web:3000
}
}
############## ##############
##### INNUNGSAPP ##### INNUNGSAPP
############## ##############
@@ -65,30 +60,62 @@ www.qrmaster.net, qrmaster.net {
encode gzip encode gzip
} }
############## ##############
##### BAYAREA ##### GREENLENS
############## ##############
bayarea-cc.com { greenlenspro.com {
# 1. API Requests -> NestJS Backend auf Port 3073 encode zstd gzip
handle /api/* {
reverse_proxy host.docker.internal:3073 @storage path /storage /storage/*
handle @storage {
uri strip_prefix /storage
reverse_proxy minio:9000
}
@api path /api /api/* /auth /auth/* /v1 /v1/* /health /plants /plants/*
handle @api {
reverse_proxy api:3000
} }
# 2. Frontend Requests -> Angular Nginx auf Port 3072
handle { handle {
reverse_proxy host.docker.internal:3072 reverse_proxy landing:3000
}
}
##############
##### QRMASTER
##############
www.qrmaster.net, qrmaster.net {
handle {
reverse_proxy qrmaster-web:3000
}
}
############################
##### config.email-bayarea.com
############################
config.email-bayarea.com {
# 1. API-Anfragen an das Node.js Backend weiterleiten
handle /api/* {
reverse_proxy config-email-backend:3001
}
handle /health {
reverse_proxy config-email-backend:3001
}
# 2. Alles andere an das Nginx Frontend weiterleiten
handle {
reverse_proxy config-email-frontend:80
} }
log { log {
output file /var/log/caddy/bayarea.access.log output file /var/log/caddy/config-email.log
format console
} }
encode gzip zstd encode gzip zstd
} }
www.bayarea-cc.com {
redir https://bayarea-cc.com{uri} permanent
}
############## ##############
##### ANNAVILLE ##### ANNAVILLE
############## ##############
@@ -113,50 +140,31 @@ annavillesda.org {
www.annavillesda.org { www.annavillesda.org {
redir https://annavillesda.org{uri} permanent redir https://annavillesda.org{uri} permanent
} }
############## ##############
##### GREENLENS ##### BAYAREA
############## ##############
greenlenspro.com { bayarea-cc.com {
encode zstd gzip # 1. API Requests -> NestJS Backend auf Port 3073
@storage path /storage /storage/*
handle @storage {
uri strip_prefix /storage
reverse_proxy minio:9000
}
@api path /api /api/* /auth /auth/* /v1 /v1/* /health /plants /plants/*
handle @api {
reverse_proxy api:3000
}
handle {
reverse_proxy landing:3000
}
}
############################
##### config.email-bayarea.com
############################
config.email-bayarea.com {
# 1. API-Anfragen an das Node.js Backend weiterleiten
handle /api/* { handle /api/* {
reverse_proxy config-email-backend:3001 reverse_proxy host.docker.internal:3073
}
handle /health {
reverse_proxy config-email-backend:3001
} }
# 2. Alles andere an das Nginx Frontend weiterleiten # 2. Frontend Requests -> Angular Nginx auf Port 3072
handle { handle {
reverse_proxy config-email-frontend:80 reverse_proxy host.docker.internal:3072
} }
log { log {
output file /var/log/caddy/config-email.log output file /var/log/caddy/bayarea.access.log
format console
} }
encode gzip zstd encode gzip zstd
} }
www.bayarea-cc.com {
redir https://bayarea-cc.com{uri} permanent
}
############## ##############
##### POCS ##### POCS
############## ##############
@@ -171,39 +179,7 @@ cielectrical.bayarea-cc.com {
} }
encode gzip zstd encode gzip zstd
} }
hamptonbrown.bayarea-cc.com {
# wenn du API innerhalb von Next bedienst, weiterleiten an den Next Prozess
handle {
reverse_proxy host.docker.internal:3010
}
log {
output file /var/log/caddy/hamptonbrown.log
format console
}
encode gzip
}
nqsltd.bayarea-cc.com {
# wenn du API innerhalb von Next bedienst, weiterleiten an den Next Prozess
handle {
reverse_proxy host.docker.internal:3020
}
log {
output file /var/log/caddy/nqsltd.log
format console
}
encode gzip
}
gregknoppcpa.bayarea-cc.com {
# wenn du API innerhalb von Next bedienst, weiterleiten an den Next Prozess
handle {
reverse_proxy host.docker.internal:3030
}
log {
output file /var/log/caddy/gregknoppcpa.log
format console
}
encode gzip
}
buddelectric.bayarea-cc.com { buddelectric.bayarea-cc.com {
handle { handle {
# NEU: Direkter Proxy zum Container auf dem nativen Next.js Port # NEU: Direkter Proxy zum Container auf dem nativen Next.js Port
@@ -215,14 +191,3 @@ buddelectric.bayarea-cc.com {
} }
encode gzip zstd encode gzip zstd
} }
iitwelders.bayarea-cc.com {
# wenn du API innerhalb von Next bedienst, weiterleiten an den Next Prozess
handle {
reverse_proxy host.docker.internal:8080
}
log {
output file /var/log/caddy/iitwelders.log
format console
}
encode gzip
}