16 lines
283 B
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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|