forked from rarias/jungle
Make nginx listen on all interfaces
Needed for local hosts to contact the nix cache via HTTP directly. We also allow the incoming traffic on port 80.
This commit is contained in:
@@ -17,13 +17,14 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."jungle.bsc.es" = {
|
||||
root = "${website}";
|
||||
listen = [
|
||||
{
|
||||
addr = "127.0.0.1";
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user