From 64082880494dc675899197a84b3298ff5600ef74 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 28 Oct 2023 16:22:44 +0200 Subject: [PATCH] fix: ensure directory for website static files gets created --- hosts/nachtigall/apps/nginx.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/nachtigall/apps/nginx.nix b/hosts/nachtigall/apps/nginx.nix index 37943f0..6a7bd66 100644 --- a/hosts/nachtigall/apps/nginx.nix +++ b/hosts/nachtigall/apps/nginx.nix @@ -20,4 +20,8 @@ in { }; networking.firewall.allowedTCPPorts = [80 443]; + + systemd.tmpfiles.rules = [ + "d '/srv/www/pub.solar' 0750 hakkonaut hakkonaut - -" + ]; }