NixOS-Config/modules/system/services/server/webhost/nginx/default.nix
2024-10-22 21:08:23 -04:00

15 lines
275 B
Nix

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