Add ACME configuration for Let's Encrypt certificates
- Accept Let's Encrypt terms of service - Configure email for certificate notifications (dlei@duck.com) - Nginx virtual hosts already configured with enableACME and forceSSL Ready for deployment to VPS.
This commit is contained in:
parent
413a44a9d8
commit
982d2886e4
|
|
@ -49,6 +49,12 @@
|
|||
allowedTCPPorts = [ 22 80 443 ]; # SSH, HTTP, HTTPS
|
||||
};
|
||||
|
||||
# ACME for Let's Encrypt certificates
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "dlei@duck.com";
|
||||
};
|
||||
|
||||
# This value determines the NixOS release compatibility
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue