diff options
author | lassulus <lassulus@lassul.us> | 2021-01-05 13:36:52 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-01-05 13:36:52 +0100 |
commit | 81c31869c2afeb510c97141af12c72a6e2b44c97 (patch) | |
tree | 837235f646f89793b0a3f504300ee12ff5084729 /makefu/2configs/nginx/dl.euer.krebsco.de.nix | |
parent | c56d012b26923a776bb9018900e963e440f74cb5 (diff) | |
parent | d34dc528ee720af767c3b5a36d6e641c1b7b63d4 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/nginx/dl.euer.krebsco.de.nix')
-rw-r--r-- | makefu/2configs/nginx/dl.euer.krebsco.de.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/makefu/2configs/nginx/dl.euer.krebsco.de.nix b/makefu/2configs/nginx/dl.euer.krebsco.de.nix index 828a66a74..5380d8437 100644 --- a/makefu/2configs/nginx/dl.euer.krebsco.de.nix +++ b/makefu/2configs/nginx/dl.euer.krebsco.de.nix @@ -1,9 +1,8 @@ { config, lib, pkgs, ... }: -with import <stockholm/lib>; { services.nginx = { - enable = mkDefault true; + enable = lib.mkDefault true; recommendedGzipSettings = true; recommendedOptimisation = true; virtualHosts."dl.euer.krebsco.de" = { @@ -13,5 +12,11 @@ with import <stockholm/lib>; enableACME = true; basicAuth = import <secrets/dl.euer.krebsco.de-auth.nix>; }; + virtualHosts."dl.gum.r" = { + serverAliases = [ "dl.gum" "dl.makefu.r" "dl.makefu" ]; + root = config.makefu.dl-dir; + extraConfig = "autoindex on;"; + basicAuth = import <secrets/dl.gum-auth.nix>; + }; }; } |