summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-06-06 21:22:25 +0200
committermakefu <github@syntax-fehler.de>2022-06-06 21:22:25 +0200
commitea3eeba435ca1147db2f563c4cb7e4c76f6f71f8 (patch)
tree6a2df6bcb3d8d6124f02a55f013fe9f51230ce20 /makefu/2configs/nginx
parent700270d7494c9a085433e54f26ad70ef0575b0ed (diff)
ma dl.euer: ensure download is member of nginx group
Diffstat (limited to 'makefu/2configs/nginx')
-rw-r--r--makefu/2configs/nginx/dl.euer.krebsco.de.nix1
-rw-r--r--makefu/2configs/nginx/euer.blog.nix1
2 files changed, 2 insertions, 0 deletions
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;
};
};