From e10d5fde20c3b6a1b3cd7ab19534a08c465f381a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 2 Jan 2025 22:50:37 +0400 Subject: [PATCH] lmao --- modules/server/media/qbittorrent.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/server/media/qbittorrent.nix b/modules/server/media/qbittorrent.nix index 9c4463bd..6a53be0b 100644 --- a/modules/server/media/qbittorrent.nix +++ b/modules/server/media/qbittorrent.nix @@ -120,11 +120,9 @@ in { }; services.nginx.virtualHosts."qbittorrent.sako.box" = { forceSSL = true; - locations."/" = { - proxyPass = "http://localhost:${toString cfg.port}"; - sslCertificate = "/srv/secrets/certs/sako.box.pem"; - sslCertificateKey = "/srv/secrets/certs/sako.box-key.pem"; - }; + sslCertificate = "/srv/secrets/certs/sako.box.pem"; + sslCertificateKey = "/srv/secrets/certs/sako.box-key.pem"; + locations."/" = { proxyPass = "http://localhost:${toString cfg.port}"; }; }; };