From 39d309d6ea5dcf9e7e8f0041a9be2b4da4116c6e Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 10 Jan 2024 12:12:02 +0300 Subject: [PATCH] Open ports --- hosts/cube/nginx.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/cube/nginx.nix b/hosts/cube/nginx.nix index 374bd3a..182686a 100644 --- a/hosts/cube/nginx.nix +++ b/hosts/cube/nginx.nix @@ -1,6 +1,8 @@ { lib, ulib, pkgs, ... }: with ulib; serverSystemConfiguration { + networking.firewall.allowedTCPPorts = [ 80 443 ]; + services.nginx = enabled { recommendedGzipSettings = true; recommendedOptimisation = true;