+caddy proxy fix +version bump fix

This commit is contained in:
Stephan D
2025-11-18 17:32:23 +01:00
parent b12dbf07ea
commit c5cdb7d2ae
5 changed files with 7 additions and 4 deletions

View File

@@ -11,8 +11,6 @@
########################################
(sendico_site) {
vars static_root /usr/share/pweb
# Allow overriding upstream via API_UPSTREAM, default to the BFF container.
vars api_upstream {$API_UPSTREAM:sendico-bff:8081}
encode zstd gzip
@@ -25,7 +23,8 @@
# Backend API
########################################
handle /api/v1/* {
reverse_proxy {vars.api_upstream} {
# Allow overriding upstream via API_UPSTREAM, default to the BFF container.
reverse_proxy {$API_UPSTREAM:sendico-bff:8081} {
health_uri /api/v1/health
health_interval 15s
health_timeout 4s