fix(OVHCloud): Fixed Caddy OVH prodiver specific config

This commit is contained in:
GaspardCulis 2024-09-30 12:33:16 +02:00
parent 1f9f05fa9a
commit 8da4050d77

View file

@ -30,6 +30,15 @@
services.caddy = {
enable = true;
package = inputs.caddy.packages.${pkgs.system}.caddy;
globalConfig = ''
acme_dns ovh {
endpoint {$OVH_ENDPOINT}
application_key {$OVH_APPLICATION_KEY}
application_secret {$OVH_APPLICATION_SECRET}
consumer_key {$OVH_CONSUMER_KEY}
}
'';
};
systemd.services.caddy = {
serviceConfig = {