fix(OVHCloud): Fixed Caddy OVH prodiver specific config
This commit is contained in:
parent
1f9f05fa9a
commit
8da4050d77
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.caddy.packages.${pkgs.system}.caddy;
|
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 = {
|
systemd.services.caddy = {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in a new issue