route on the ip zone (APP_IP_ZONE) instead of nip.io

This commit is contained in:
Worph
2026-10-27 16:37:43 +00:00
parent c9aa19c56f
commit e36abaa72a
13 changed files with 48 additions and 48 deletions
+3 -3
View File
@@ -193,7 +193,7 @@ services:
BACKEND_HOST: "metagateway-app"
BACKEND_PORT: "3000"
LISTEN_PORT: "80"
REDIRECT_HOST_SUFFIXES: "${APP_DOMAIN},${APP_PUBLIC_IP_DASH}.nip.io,${APP_PUBLIC_IP_DASH}.sslip.io"
REDIRECT_HOST_SUFFIXES: "${APP_DOMAIN},${APP_PUBLIC_IP_DASH}.${APP_IP_ZONE},${APP_PUBLIC_IP_DASH}.sslip.io"
depends_on:
- metagateway-app
labels:
@@ -221,8 +221,8 @@ services:
caddy_0.3_handle: ""
caddy_0.3_handle.reverse_proxy: "{{upstreams 80}}"
# ---- metagateway-IP.nip.io (gateway TLS) ----
caddy_1: metagateway-${APP_PUBLIC_IP_DASH}.nip.io
# ---- metagateway-IP.<IP_ZONE> (gateway TLS) ----
caddy_1: metagateway-${APP_PUBLIC_IP_DASH}.${APP_IP_ZONE}
caddy_1.import: gateway_tls
caddy_1.0_handle: "/health"
caddy_1.0_handle.reverse_proxy: "metagateway-app:3000"