route on the ip zone (APP_IP_ZONE) instead of nip.io
This commit is contained in:
@@ -159,8 +159,8 @@ services:
|
||||
caddy_0.import: gateway_tls
|
||||
caddy_0.reverse_proxy: "{{upstreams 3000}}"
|
||||
|
||||
# ---- metawatch-IP.nip.io (gateway TLS) ----
|
||||
caddy_1: metawatch-${APP_PUBLIC_IP_DASH}.nip.io
|
||||
# ---- metawatch-IP.<IP_ZONE> (gateway TLS) ----
|
||||
caddy_1: metawatch-${APP_PUBLIC_IP_DASH}.${APP_IP_ZONE}
|
||||
caddy_1.import: gateway_tls
|
||||
caddy_1.reverse_proxy: "{{upstreams 3000}}"
|
||||
|
||||
@@ -197,7 +197,7 @@ services:
|
||||
BACKEND_HOST: "metawatch-search"
|
||||
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:
|
||||
- metawatch-search
|
||||
labels:
|
||||
@@ -205,7 +205,7 @@ services:
|
||||
caddy_0.import: gateway_tls
|
||||
caddy_0.reverse_proxy: "{{upstreams 80}}"
|
||||
|
||||
caddy_1: metawatchsearch-${APP_PUBLIC_IP_DASH}.nip.io
|
||||
caddy_1: metawatchsearch-${APP_PUBLIC_IP_DASH}.${APP_IP_ZONE}
|
||||
caddy_1.import: gateway_tls
|
||||
caddy_1.reverse_proxy: "{{upstreams 80}}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user