Add ACME-based Let's Encrypt certificate for TLS
The bare "sovr.cloud" certificate doesn't work yet, but I'm leaving it there for now.
This commit is contained in:
parent
f57f7097c1
commit
d7aabdf198
|
@ -41,6 +41,22 @@
|
|||
programs.neovim.enable = true;
|
||||
programs.neovim.defaultEditor = true;
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs."_.sovr.cloud" = {
|
||||
dnsProvider = "porkbun";
|
||||
domain = "*.sovr.cloud";
|
||||
environmentFile = "/opt/keys/porkbun";
|
||||
group = "nginx";
|
||||
};
|
||||
/*certs."sovr.cloud" = {
|
||||
dnsProvider = "porkbun";
|
||||
domain = "sovr.cloud";
|
||||
environmentFile = "/opt/keys/porkbun";
|
||||
group = "nginx";
|
||||
};*/
|
||||
defaults.email = "eli@theribbles.org";
|
||||
};
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
|
Loading…
Reference in New Issue