From 421a2944f83cf72c883ed101a0869b0ac53aaf84 Mon Sep 17 00:00:00 2001 From: Sven Date: Tue, 17 Mar 2026 16:34:45 +0100 Subject: [PATCH] docs: fix nginx proxy Host header to blog.giersig.eu Internal requests arrive with Host: 10.100.0.10 which Indiekit doesn't recognize, causing auth redirects. Hardcode the public hostname so Indiekit's session/token handling works correctly. Co-Authored-By: Claude Opus 4.6 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 70a01ea5..9c32dc54 100644 --- a/README.md +++ b/README.md @@ -225,10 +225,10 @@ server { listen 10.100.0.10:80; server_name blog.giersig.eu; - # Pretend we're HTTPS so Indiekit's force-https middleware - # doesn't redirect internal requests. + # Tell Indiekit this is the real domain (not 10.100.0.10) and + # that TLS was terminated upstream so force-https doesn't redirect. + proxy_set_header Host blog.giersig.eu; proxy_set_header X-Forwarded-Proto https; - proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;