move firewall opening to nginx

This commit is contained in:
Noa Aarts 2024-06-18 19:58:50 +02:00
parent 194b13437b
commit 64b9027099
2 changed files with 9 additions and 4 deletions

View file

@ -119,6 +119,15 @@ in
virtualHosts = hosts;
};
networking.firewall.allowedTCPPorts = [
80 # http
443 # https
];
networking.firewall.allowedUDPPorts = [
80 # http
443 # https
];
}
);
}