summaryrefslogtreecommitdiffstats
path: root/profiles/nginx.nix
blob: c9539e091450b3ae22c667d3c4349da0ed1e027d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:

{
  # common nginx things.
  # Add vhosts in another host-specific module.

  security.acme.acceptTerms = true;
  security.acme.defaults.email = "nrfhrvn.ztnnzq-nfp@noclue.notk.org";
  services.nginx = {
    enable = true;
    recommendedTlsSettings = true;
    recommendedOptimisation = true;
    recommendedGzipSettings = true;
    recommendedProxySettings = true;
  };
}