alerts.pub.solar: use DNS challenge for cert
Some checks failed
Flake checks / Check (pull_request) Failing after 1m30s
Some checks failed
Flake checks / Check (pull_request) Failing after 1m30s
This commit is contained in:
parent
6a235fa0d8
commit
9cbd60a80b
|
@ -12,6 +12,15 @@
|
||||||
owner = "alertmanager";
|
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}" = {
|
services.nginx.virtualHosts."alerts.${config.pub-solar-os.networking.domain}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue