nginx-website{,-miom}: ensure permissions for parent

directory
This commit is contained in:
teutat3s 2025-04-24 14:17:22 +02:00
parent fada245b8f
commit d9e6b9754b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 5 additions and 1 deletions
modules
nginx-website-miom
nginx-website

View file

@ -1,7 +1,10 @@
{ ... }:
{
systemd.tmpfiles.rules = [ "d '/srv/www/miom.space' 0750 hakkonaut hakkonaut - -" ];
systemd.tmpfiles.rules = [
"d '/srv/www' 0750 hakkonaut hakkonaut - -"
"d '/srv/www/miom.space' 0750 hakkonaut hakkonaut - -"
];
services.nginx.virtualHosts = {
"www.miom.space" = {

View file

@ -1,6 +1,7 @@
{ lib, config, ... }:
{
systemd.tmpfiles.rules = [
"d '/srv/www' 0750 hakkonaut hakkonaut - -"
"d '/srv/www/${config.pub-solar-os.networking.domain}' 0750 hakkonaut hakkonaut - -"
];