From ea3eeba435ca1147db2f563c4cb7e4c76f6f71f8 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 6 Jun 2022 21:22:25 +0200 Subject: ma dl.euer: ensure download is member of nginx group --- makefu/2configs/nginx/dl.euer.krebsco.de.nix | 1 + makefu/2configs/nginx/euer.blog.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'makefu') diff --git a/makefu/2configs/nginx/dl.euer.krebsco.de.nix b/makefu/2configs/nginx/dl.euer.krebsco.de.nix index 5380d8437..e31d355a7 100644 --- a/makefu/2configs/nginx/dl.euer.krebsco.de.nix +++ b/makefu/2configs/nginx/dl.euer.krebsco.de.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: { + users.groups.download.members = [ "nginx" ]; services.nginx = { enable = lib.mkDefault true; recommendedGzipSettings = true; diff --git a/makefu/2configs/nginx/euer.blog.nix b/makefu/2configs/nginx/euer.blog.nix index 14d1285db..24696adf2 100644 --- a/makefu/2configs/nginx/euer.blog.nix +++ b/makefu/2configs/nginx/euer.blog.nix @@ -35,6 +35,7 @@ in { #serverAliases = [ "blog.euer.krebsco.de" "blog.${hostname}" ]; enableACME = true; forceSSL = true; + default = true; root = base-dir; }; }; -- cgit v1.2.3