From 60a5b1a65b697b1ddd9d01d599f1b37469115d1c Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 22 Aug 2023 19:06:04 +0100 Subject: [PATCH] test: caddy header_up x-forwarded-proto --- deploy/dev/cm.yaml | 4 ++-- deploy/prod/cm.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/dev/cm.yaml b/deploy/dev/cm.yaml index 752ca87c..1e791052 100644 --- a/deploy/dev/cm.yaml +++ b/deploy/dev/cm.yaml @@ -20,7 +20,7 @@ data: } reverse_proxy xlog-internal.crossbell.svc:3000 { - header_up Host {host} + header_up x-forwarded-proto http } } @@ -34,7 +34,7 @@ data: } reverse_proxy xlog-internal.crossbell.svc:3000 { - header_up Host {host} + header_up x-forwarded-proto http } } --- diff --git a/deploy/prod/cm.yaml b/deploy/prod/cm.yaml index 4622c52a..7f1fbc11 100644 --- a/deploy/prod/cm.yaml +++ b/deploy/prod/cm.yaml @@ -20,7 +20,7 @@ data: } reverse_proxy xlog-internal.crossbell.svc:3000 { - header_up Host {host} + header_up x-forwarded-proto http } } @@ -34,7 +34,7 @@ data: } reverse_proxy xlog-internal.crossbell.svc:3000 { - header_up Host {host} + header_up x-forwarded-proto http } } ---