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

16 lines
283 B
Nix

{ ... }:
{
services.nginx.virtualHosts = {
"bahnansagen.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
alias = "/data/bahnansagen/";
basicAuthFile = "/var/src/secrets/nginx/bahnansagen.htpasswd";
};
};
};
}