traefik: close unused ports

This commit is contained in:
notohh 2023-05-27 15:27:47 -04:00
parent 545c4d30fa
commit 9c9bc51b9a
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,6 +1,6 @@
{config, ...}: { {config, ...}: {
sops.secrets.cloudflare-api-key = {}; sops.secrets.cloudflare-api-key = {};
networking.firewall.allowedTCPPorts = [80 443 8080 8000]; networking.firewall.allowedTCPPorts = [80 443];
systemd.user.services.traefik.after = ["docker.service"]; systemd.user.services.traefik.after = ["docker.service"];
systemd.services.traefik = { systemd.services.traefik = {
environment = { environment = {