1
0

hosts/storage-2: add bahnansagen

This commit is contained in:
clerie 2022-12-29 16:16:13 +01:00
parent 33195da4d7
commit 6d89551808
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,15 @@
{ ... }:
{
services.nginx.virtualHosts = {
"bahnansagen.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
alias = "/data/bahnansagen/";
basicAuthFile = "/var/src/secrets/nginx/bahnansagen.htpasswd";
};
};
};
}

View File

@ -6,6 +6,7 @@
./hardware-configuration.nix
../../configuration/common
../../configuration/proxmox-vm
./bahnansagen.nix
./mixcloud.nix
./share.nix
./storage.nix
@ -15,8 +16,6 @@
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
networking.hostName = "storage-2";
networking.useDHCP = false;