From 22dc7adc4cf097056dd12c787131b625e6eb94d9 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 8 Dec 2021 18:02:21 +0100 Subject: Move nix cache to port 7980 --- node/caribou.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'node') diff --git a/node/caribou.nix b/node/caribou.nix index e354754..366251a 100644 --- a/node/caribou.nix +++ b/node/caribou.nix @@ -47,6 +47,10 @@ virtualHosts = { "binarycache.home.adnab.me" = { serverAliases = [ "binarycache" ]; + listen = [ { + addr = "0.0.0.0"; + port = 7980; + } ]; locations."/".extraConfig = '' proxy_pass http://localhost:${toString config.services.nix-serve.port}; proxy_set_header Host $host; @@ -57,5 +61,5 @@ }; }; - networking.firewall.allowedTCPPorts = [ 80 ]; + networking.firewall.allowedTCPPorts = [ 7980 ]; } -- cgit v1.2.3