✨ add traefik for internal tls
This commit is contained in:
parent
ac8c7441fb
commit
b99248b210
@ -105,6 +105,42 @@
|
||||
networking.firewall.enable = false;
|
||||
|
||||
walkah.coredns = { enable = true; };
|
||||
services.traefik = {
|
||||
enable = true;
|
||||
group = "docker";
|
||||
staticConfigOptions = {
|
||||
api = { };
|
||||
certificatesResolvers = {
|
||||
myresolver = {
|
||||
acme = {
|
||||
email = "walkah@walkah.net";
|
||||
storage = "/var/lib/traefik/acme.json";
|
||||
dnsChallenge = {
|
||||
provider = "cloudflare";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
entryPoints = {
|
||||
web = {
|
||||
address = ":80";
|
||||
|
||||
};
|
||||
websecure = {
|
||||
address = ":443";
|
||||
|
||||
};
|
||||
};
|
||||
providers = {
|
||||
docker = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.services.traefik = {
|
||||
serviceConfig = {
|
||||
EnvironmentFile = "/var/lib/traefik/env";
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
borgbackup.jobs."borgbase" = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user