arashi: remove traefik

This commit is contained in:
notohh 2023-06-18 11:31:43 -04:00
parent 8d099bccf6
commit 0f9a27057f
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,39 +0,0 @@
_: {
networking.firewall.allowedTCPPorts = [80 443];
services.traefik = {
enable = true;
dynamicConfigOptions = {
http = {
routers = {
api = {
rule = "PathPrefix(`/api/`)";
entryPoints = ["websecure"];
service = "api@internal";
};
};
services = {
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
};
};
};
staticConfigOptions = {
log.level = "DEBUG";
api.dashboard = false;
api.insecure = false;
global = {
checkNewVersion = false;
sendAnonymousUsage = false;
};
entryPoints = {
websecure = {
address = ":443";
forwardedHeaders.insecure = true;
};
web = {
address = ":80";
forwardedHeaders.insecure = true;
};
};
};
};
}