mail working
This commit is contained in:
parent
bc5f851d3f
commit
99394cb573
8 changed files with 204 additions and 73 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue