11 lines
233 B
Nix
11 lines
233 B
Nix
# Nginx Reverse Proxy & ACME certs
|
|
{ config, ... }: {
|
|
services.nginx.enable = true;
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = config.var.git.email;
|
|
};
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
}
|