nixos-configuration/hosts/iron/services/nginx.nix
2023-06-28 02:06:10 +00:00

14 lines
270 B
Nix

{ pkgs, ... }:
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
networking.firewall.allowedTCPPorts = [
80
443
];
}