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,9 +1,11 @@
{ config, pkgs, ... }:
{
security.acme.certs."${config.networking.domain}".extraDomainNames = [ "kalender.ktiu.net" ];
services.nginx.virtualHosts."kalender.ktiu.net" = {
forceSSL = true;
enableACME = true;
onlySSL = true;
useACMEHost = config.networking.domain;
locations."/" = {
proxyPass = "http://127.0.0.1:5232/";
extraConfig = ''
@ -22,8 +24,8 @@
};
auth = {
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_encryption = "bcrypt";
htpasswd_filename = "/var/custom-access/radicale.htpasswd";
# htpasswd_encryption = "bcrypt";
};
storage = {
filesystem_folder = "/var/lib/radicale/collections";