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; ''; }; };