ma dl.gum: provide access to internal host
This commit is contained in:
parent
b5c1ac8034
commit
63a521adb7
2
0tests/data/secrets/dl.gum-auth.nix
Normal file
2
0tests/data/secrets/dl.gum-auth.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue