diff --git a/modules/server/media/qbittorrent.nix b/modules/server/media/qbittorrent.nix index 7f6d9b8e..adf0d822 100644 --- a/modules/server/media/qbittorrent.nix +++ b/modules/server/media/qbittorrent.nix @@ -113,6 +113,10 @@ in { ExecStart = "${cfg.package}/bin/qbittorrent-nox"; }; + services.nginx.virtualhost."qbittorrent.sako.box" = { + proxyPass = "http://localhost:${toString cfg.port}"; + }; + environment = { QBT_PROFILE = cfg.dataDir; QBT_WEBUI_PORT = toString cfg.port;