Add routing to qbittorrent web interface

This commit is contained in:
Evie Litherland-Smith 2023-05-24 09:21:43 +01:00
parent 5dd04cc1a9
commit 78b8ee25a2

View file

@ -25,11 +25,17 @@
tls = {certResolver = "default";};
};
services.traefik-webinterface.loadBalancer.servers = [{url = "http://localhost:8080";}];
routers.qbittorrent = {
rule = "Host(`torrent.xenia.me.uk`)";
service = "qbittorrent-webinterface";
tls = {certResolver = "default";};
};
services.qbittorrent-webinterface.loadBalancer.servers = [{url = "http://localhost:8090";}];
};
};
networking.firewall = {
enable = true;
allowedTCPPorts = [80 443 8080];
allowedTCPPorts = [80 443 8080 8090];
};
services.fail2ban.jails.traefik = ''
enabled = true