1
0
Fork 0
forked from pub-solar/infra
pub-solar-infra-new/hosts/nachtigall/apps/nginx.nix

24 lines
359 B
Nix
Raw Normal View History

2023-10-28 13:31:44 +00:00
{
config,
lib,
pkgs,
self,
...
}: let
acmeEmailAddress = "admins@pub.solar";
webserverGroup = "hakkonaut";
in {
services.nginx = {
enable = true;
group = webserverGroup;
enableReload = true;
};
security.acme = {
acceptTerms = true;
email = acmeEmailAddress;
};
networking.firewall.allowedTCPPorts = [80 443];
}