NixOS-Config/modules/system/services/server/webhost/nginx/default.nix

15 lines
275 B
Nix
Raw Normal View History

2024-10-22 21:08:23 -04:00
{ pkgs, config, ... }:
{
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
networking.firewall.allowedTCPPorts = [
80 443
];
}