nixos-config/hosts/voyager/services/nginx/default.nix

16 lines
299 B
Nix
Raw Normal View History

2023-04-16 16:49:08 +02:00
{ config, values, ... }:
{
services.nginx = {
enable = true;
enableReload = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}