This commit is contained in:
iFargle 2023-10-07 22:18:18 +09:00
parent 0b6cc0e884
commit 3de5e1487a
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{pkgs, lib, config, ...}: { {pkgs, lib, config, ...}: {
networking.firewall.allowedTCPPorts = [ 80 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = { services.nginx = {
enable = true; enable = true;

View file

@ -21,6 +21,7 @@
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
22 22
80 80
443
]; ];
networking.firewall.allowedUDPPorts = [ 51820 ]; networking.firewall.allowedUDPPorts = [ 51820 ];