From 34b54e1aad4b4ca9ea2944b9fa2ca1573d51460b Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 4 May 2026 01:52:04 -0700 Subject: [PATCH] Update services/nginx.nix --- services/nginx.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/nginx.nix b/services/nginx.nix index 9b81fbd..edfdf7e 100644 --- a/services/nginx.nix +++ b/services/nginx.nix @@ -112,7 +112,12 @@ in "7dtd.nordhammer.it" = protectedProxy 8090; "adguard.nordhammer.it" = protectedProxy 3000; "profilarr.nordhammer.it" = protectedProxy 6868; - "sabnzbd.nordhammer.it" = protectedProxy 8085; + # SABnzbd hostname check compares the Host header against its whitelist + # (default: localhost/127.0.0.1). Override Host so it passes. + "sabnzbd.nordhammer.it" = lib.recursiveUpdate (protectedProxy 8085) { + locations."/".extraConfig = autheliaAuthConfig + '' + proxy_set_header Host "127.0.0.1:8085"; + ''; # --- Local-only: serves update history JSON to Homepage's customapi widget --- "homepage-updates.local" = {