feat: auto forward ports and open firewall

This commit is contained in:
Katharina Heidenreich 2026-03-16 19:05:55 +01:00
parent b166c58127
commit 44d2263bdf
4 changed files with 20 additions and 13 deletions

View file

@ -80,7 +80,7 @@ in {
virtualHosts = rproxyServices // {fallback = fallback;};
};
networking.firewall.allowedTCPPorts = [80 443];
networking.firewall.allowedTCPPorts = network.usedPorts;
security.acme = {
acceptTerms = true;