crisis averted

This commit is contained in:
Sakooooo 2025-01-02 12:21:01 +04:00
parent 8ad7c44373
commit 78d2fcb20e
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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;