diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 12:20:23 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 12:20:23 +0100 |
commit | cfc871cce6aefaa0ff64619780a807cba761c6b2 (patch) | |
tree | 965e8276ed36f11698b6c7d6eadab9f88d5f97c5 /hosts/surtr/http/webdav | |
parent | aa54fe89b98d354d21141c589332ce7950ef2e59 (diff) | |
download | nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.gz nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.bz2 nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.xz nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.zip |
...
Diffstat (limited to 'hosts/surtr/http/webdav')
-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 = { |