Add routing to qbittorrent web interface
This commit is contained in:
parent
5dd04cc1a9
commit
78b8ee25a2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue