ROCKPro64-Server/system/services/server/transmission/nginx/default.nix

12 lines
272 B
Nix
Raw Normal View History

2025-02-28 12:21:09 -05:00
{ config, lib, ... }:
{
services.nginx.virtualHosts."tor.nixfox.ca" = lib.mkIf config.services.transmission.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:9091";
proxyWebsockets = true;
};
};
}