13 lines
305 B
Nix
13 lines
305 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts."fundkorb.ktiu.net" = {
|
|
addSSL = true;
|
|
enableACME = true;
|
|
root = "/var/www/fundkorb-button/html";
|
|
location."/" = {
|
|
basicAuth = "Fundkorb build trigger";
|
|
basicAuthFile = "/var/www/fundkorb-button/.htpasswd";
|
|
};
|
|
};
|
|
}
|