dotfiles/nixos/boxes/nginx.nix

16 lines
295 B
Nix
Raw Normal View History

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