summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx/dl.euer.krebsco.de.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-01-01 00:45:06 +0100
committermakefu <github@syntax-fehler.de>2021-01-01 00:45:06 +0100
commit6a53d3e0fd78bbb9094b7c1f59be0bb6742cf67d (patch)
tree5f78fd6bd51d67205d6cc914d744a3c1c5239ff0 /makefu/2configs/nginx/dl.euer.krebsco.de.nix
parent7fc5c7d37edd803d70cfb886c6944804e340ae65 (diff)
ma dl.gum: provide access to internal host
Diffstat (limited to 'makefu/2configs/nginx/dl.euer.krebsco.de.nix')
-rw-r--r--makefu/2configs/nginx/dl.euer.krebsco.de.nix9
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>;
+ };
};
}