1
0
Fork 0

add allowed tcp ports for nginx

This commit is contained in:
ibizaman 2023-11-17 22:52:14 -08:00 committed by Pierre Penninckx
parent 8d08c5b7c0
commit 50798a0f91

View file

@ -66,6 +66,8 @@ in
}; };
config = { config = {
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx.enable = true; services.nginx.enable = true;
services.nginx.logError = lib.mkIf cfg.debugLog "stderr warn"; services.nginx.logError = lib.mkIf cfg.debugLog "stderr warn";
services.nginx.appendHttpConfig = lib.mkIf cfg.accessLog '' services.nginx.appendHttpConfig = lib.mkIf cfg.accessLog ''