summaryrefslogtreecommitdiff
path: root/hosts/kay/modules/www.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-27 16:50:06 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-27 16:50:06 +0530
commita41347e971a5b7498d12e47b25895faf4feb2bd8 (patch)
tree64b7ad86af50466314ffb8d77abcf68e9ddae3e1 /hosts/kay/modules/www.nix
parentc2078d3e8be3bec0248c3f272ec6bebf46093196 (diff)
kay/acme/rfc2136: reload dependencies after cert fetch
Diffstat (limited to 'hosts/kay/modules/www.nix')
-rw-r--r--hosts/kay/modules/www.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix
index 1447b1e..3891bf6 100644
--- a/hosts/kay/modules/www.nix
+++ b/hosts/kay/modules/www.nix
@@ -13,6 +13,7 @@ in
./cgit.nix
];
+ security.acme.certs.${domain}.postRun = "systemctl reload nginx.service";
networking.firewall = {
allowedTCPPorts = [ 80 443 ];
allowedUDPPorts = [ 443 ];