ma dl.gum: provide access to internal host
This commit is contained in:
parent
7fc5c7d37e
commit
6a53d3e0fd
2
makefu/0tests/data/secrets/dl.gum-auth.nix
Normal file
2
makefu/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 New Issue
Block a user