From 76cc6d04715431cf958175c5335793ab89ecccc4 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 16 Apr 2023 00:30:21 +0200 Subject: [PATCH] mediaserver: add sonarr --- system/nixos/sonarr.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/system/nixos/sonarr.nix b/system/nixos/sonarr.nix index 00f1dbf..01468cd 100644 --- a/system/nixos/sonarr.nix +++ b/system/nixos/sonarr.nix @@ -49,14 +49,7 @@ proxyPass = "http://unix:/run/socat-sonarr/sonarr.sock:/"; extraConfig = '' - set $fake_host localhost; - - proxy_set_header Host $fake_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-Proto $scheme; - proxy_set_header X-Forwarded-Host $fake_host; - proxy_set_header X-Forwarded-Server $fake_host; + proxy_set_header Host localhost; ''; }; };