From a469b5f502b318394193702bcbb50644f98863d7 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 18 Apr 2018 21:03:20 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9finition=20des=20ports=20firewall=20dans?= =?UTF-8?q?=20le=20fichier=20d=C3=A9di=C3=A9=20HAproxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haproxy-acme.nix | 4 ++++ services.nix | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/haproxy-acme.nix b/haproxy-acme.nix index cb9ca95..08c73d2 100644 --- a/haproxy-acme.nix +++ b/haproxy-acme.nix @@ -118,5 +118,9 @@ ${concatStrings ( }; security.acme.directory = "/var/lib/acme"; + networking.firewall.allowedTCPPorts = [ + 80 443 + ]; + }; } diff --git a/services.nix b/services.nix index ed0f1a8..6845fc7 100644 --- a/services.nix +++ b/services.nix @@ -95,7 +95,6 @@ in services.murmur.textMsgLength = 0; networking.firewall.allowedTCPPorts = [ - 80 443 # HAProxy # 111 2049 4000 4001 4002 # NFS 3483 9000 9090 # Slimserver 51413 # Transmission