From 37f8be203fc14f280c02a912db8fcde698005edd Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Fri, 22 Nov 2024 18:56:46 -0500 Subject: [PATCH] refactor: always allow HTTPS through firewall --- modules/forgejo/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/forgejo/default.nix b/modules/forgejo/default.nix index 5eefac2..6f42343 100644 --- a/modules/forgejo/default.nix +++ b/modules/forgejo/default.nix @@ -23,8 +23,7 @@ in { security.acme.acceptTerms = config.aether.https; security.acme.defaults.email = cfg.acmeEmail; - networking.firewall.allowedTCPPorts = - [ 80 ] ++ lib.optional config.aether.https 443; + networking.firewall.allowedTCPPorts = [ 80 443 ]; # Forgejo