dotfiles/nixos/boxes/vultr1/nginx.nix

13 lines
291 B
Nix
Raw Normal View History

2021-06-02 20:42:32 +01:00
{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
statusPage = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
}