summary refs log blame commit diff stats
path: root/system/services/nginx/default.nix
blob: 3eb98d3847236abc0b9c9e7bd22b7ea5b030a007 (plain) (tree)
1
2
3
4
5
6
7
8


               


                                                  



                               
    
           
{...}: {
  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