From c0d5244002184186426e4b4c94312d59f10de7c8 Mon Sep 17 00:00:00 2001 From: kalipso Date: Mon, 14 Sep 2026 20:01:47 +0200 Subject: [PATCH] [fanny] forward https proto to wp to prevent insecure warnings --- machines/fanny/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index e0d7923..042589e 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -324,6 +324,11 @@ in proxyPass = "http://${hosts.malobeo.hosts.wordpress.network.address}"; extraConfig = '' proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Port 443; + proxy_set_header X-Forwarded-Proto https; ''; }; };