mail working

This commit is contained in:
Till 2025-05-03 20:24:51 +02:00
parent bc5f851d3f
commit 99394cb573
8 changed files with 204 additions and 73 deletions

View file

@ -1,11 +1,15 @@
{ config, pkgs, ... }:
{
security.acme.certs."${config.networking.domain}".extraDomainNames = [
"fundkorb.ktiu.net"
];
services.nginx.virtualHosts."fundkorb.ktiu.net" = {
addSSL = true;
enableACME = true;
onlySSL = true;
useACMEHost = config.networking.domain;
root = "/var/www/fundkorb-button/html";
location."/" = {
locations."/" = {
basicAuth = "Fundkorb build trigger";
basicAuthFile = "/var/www/fundkorb-button/.htpasswd";
};