reload caddy on change

This commit is contained in:
Adithya 2024-11-17 14:38:55 +05:30
parent 7a41aecef8
commit 3c598debd5
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -12,7 +12,6 @@
enable = true; enable = true;
package = inputs.caddy.packages.${pkgs.system}.caddy; package = inputs.caddy.packages.${pkgs.system}.caddy;
email = "admin@acomputer.lol"; email = "admin@acomputer.lol";
enableReload = false;
globalConfig = '' globalConfig = ''
admin ${config.nodeconfig.facts.wireguard-ip}:2019 admin ${config.nodeconfig.facts.wireguard-ip}:2019
acme_dns hetzner {env.HETZNER_ACCESS_TOKEN} acme_dns hetzner {env.HETZNER_ACCESS_TOKEN}