fix: open ports 80/443 in proxy module when proxies are configured
buildbot/nix-eval Build done. (1 warning)
buildbot/nix-build Build done.

The greg.proxies module enables nginx but never opened the firewall,
so all proxied services (Jellyfin, Grafana, etc.) were unreachable
on the LAN. Add allowedTCPPorts [80 443] conditioned on the same
mkIf guard as the nginx virtualHosts config.
This commit is contained in:
root
2026-03-25 17:35:52 -05:00
parent c2f454f876
commit a5719c4e02
+5
View File
@@ -92,4 +92,9 @@ with lib;
virtualHosts = mapAttrs makeHost cfg; virtualHosts = mapAttrs makeHost cfg;
}; };
config.networking.firewall.allowedTCPPorts = mkIf ((attrValues cfg) != [ ]) [
80
443
];
} }