1
0
nixfiles/hosts/storage-2/bahnansagen.nix

16 lines
283 B
Nix
Raw Normal View History

2022-12-29 16:16:13 +01:00
{ ... }:
{
services.nginx.virtualHosts = {
"bahnansagen.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
alias = "/data/bahnansagen/";
basicAuthFile = "/var/src/secrets/nginx/bahnansagen.htpasswd";
};
};
};
}