From b854e78a1c9ce142f046c24f76c1fe05117c19aa Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 6 Feb 2023 23:15:34 +0900 Subject: [PATCH] fixed host header --- etc/caddy/Caddyfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/caddy/Caddyfile b/etc/caddy/Caddyfile index a1a7885..16e0790 100644 --- a/etc/caddy/Caddyfile +++ b/etc/caddy/Caddyfile @@ -6,7 +6,9 @@ read.keiu.net { } fogtype.com { reverse_proxy http://gts:8080 - reverse_proxy /.well-known/nostr.json https://archive.fogtype.com + reverse_proxy /.well-known/nostr.json https://archive.fogtype.com { + header_up Host {upstream_hostport} + } } www.fogtype.com { redir https://fogtype.com{uri} 308