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:
parent
785f7cfee8
commit
3619f09c78
@ -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;
|
||||
}
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user