dotfiles/nixos/boxes/vultr1/nginx.nix
Cyryl Płotnicki bcc9a8762d add vultr
2021-06-04 20:04:52 +01:00

12 lines
291 B
Nix

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