fix(nginx): firewall

This commit is contained in:
arcnmx 2024-01-25 09:19:41 -08:00
parent d875fa73ca
commit 1daeddb40e
3 changed files with 8 additions and 1 deletions

6
nixos/access/nginx.nix Normal file
View file

@ -0,0 +1,6 @@
_: {
networking.firewall.allowedTCPPorts = [
443
80
];
}

View file

@ -5,7 +5,7 @@
...
}:
with lib; {
networking.firewall.allowedTCPPorts = [
networking.firewall.interfaces.local.allowedTCPPorts = [
443
80
];