This commit is contained in:
zuckerberg
2021-02-23 21:34:29 -05:00
parent db877a8038
commit 079ff9e8e3
13 changed files with 57 additions and 145 deletions

14
common/server/nginx.nix Normal file
View File

@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
}