nixos/hosts/server/nginx.nix
2024-06-07 23:34:02 +02:00

12 lines
253 B
Nix

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