omniflake/system/web-server/fundkorb-button.nix
2025-04-27 18:29:51 +02:00

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";
};
};
}