epic fail

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

View file

@ -113,14 +113,14 @@ in {
ExecStart = "${cfg.package}/bin/qbittorrent-nox"; ExecStart = "${cfg.package}/bin/qbittorrent-nox";
}; };
services.nginx.virtualhost."qbittorrent.sako.box" = {
proxyPass = "http://localhost:${toString cfg.port}";
};
environment = { environment = {
QBT_PROFILE = cfg.dataDir; QBT_PROFILE = cfg.dataDir;
QBT_WEBUI_PORT = toString cfg.port; QBT_WEBUI_PORT = toString cfg.port;
}; };
}; };
services.nginx.virtualhost."qbittorrent.sako.box" = {
proxyPass = "http://localhost:${toString cfg.port}";
};
}; };
} }