Files
stubbfelnix/services/nginx.nix
2017-11-28 23:36:17 +01:00

16 lines
289 B
Nix

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