From ebf18826720fb717b6f0764aed6ed065c959c6a1 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Thu, 5 Jan 2023 07:59:09 +0100 Subject: [PATCH] services: gitea add missing firewall --- modules/services/server/gitea.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/services/server/gitea.nix b/modules/services/server/gitea.nix index 1f423e8..693c2da 100644 --- a/modules/services/server/gitea.nix +++ b/modules/services/server/gitea.nix @@ -68,6 +68,12 @@ }; }; + networking.firewall = { + interfaces.ens18 = { + allowedTCPPorts = [ 2222 ]; + }; + }; + services.nginx = { enable = true; recommendedTlsSettings = true;