diff options
Diffstat (limited to 'hosts/surtr/http/webdav/default.nix')
-rw-r--r-- | hosts/surtr/http/webdav/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hosts/surtr/http/webdav/default.nix b/hosts/surtr/http/webdav/default.nix index 0443bc97..c5a94996 100644 --- a/hosts/surtr/http/webdav/default.nix +++ b/hosts/surtr/http/webdav/default.nix | |||
@@ -68,12 +68,8 @@ in { | |||
68 | ''; | 68 | ''; |
69 | }; | 69 | }; |
70 | }; | 70 | }; |
71 | security.acme.domains."webdav.141.li" = { | 71 | security.acme.rfc2136Domains."webdav.141.li" = { |
72 | certCfg = { | 72 | restartUnits = ["nginx.service"]; |
73 | postRun = '' | ||
74 | ${pkgs.systemd}/bin/systemctl try-restart nginx.service | ||
75 | ''; | ||
76 | }; | ||
77 | }; | 73 | }; |
78 | 74 | ||
79 | systemd.services.nginx.serviceConfig = { | 75 | systemd.services.nginx.serviceConfig = { |