2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-23 04:27:31 +01:00
nixos-config/hosts/burnham/services/nginx.nix

20 lines
391 B
Nix
Raw Normal View History

2024-05-29 01:31:38 +02:00
{ config, values, ... }:
{
services.nginx = {
enable = true;
enableReload = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
security.acme = {
acceptTerms = true;
defaults.email = "felix@albrigtsen.it";
};
}