summary refs log tree commit diff stats
path: root/system/services/nginx/default.nix
blob: 3eb98d3847236abc0b9c9e7bd22b7ea5b030a007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{...}: {
  imports = [
    ./hosts.nix
  ];
  security.acme.acceptTerms = true;
  security.acme.defaults.email = "admin@vhack.eu";
  security.acme.defaults.webroot = "/srv/acme/";

  networking.firewall = {
    allowedTCPPorts = [80 443];
  };
  services.nginx = {
    enable = true;
  };
}
# vim: ts=2