Exposed port 80 for nix-serve
This commit is contained in:
parent
c516173cea
commit
46918faa66
|
@ -182,6 +182,9 @@
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [80];
|
||||
};
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
|
Loading…
Reference in a new issue