alerts.pub.solar: use DNS challenge for cert
This commit is contained in:
parent
faa71b7797
commit
63fa03e971
|
@ -12,6 +12,15 @@
|
|||
owner = "alertmanager";
|
||||
};
|
||||
|
||||
security.acme.certs = {
|
||||
"alerts.${config.pub-solar-os.networking.domain}" = {
|
||||
# disable http challenge
|
||||
webroot = null;
|
||||
# enable dns challenge
|
||||
dnsProvider = "namecheap";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."alerts.${config.pub-solar-os.networking.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Reference in a new issue