added flake caldav

This commit is contained in:
Stuce 2025-11-16 11:08:06 +01:00
parent 1c4aac6abf
commit 5e4834b90d
3 changed files with 10 additions and 12 deletions

View file

@ -35,16 +35,12 @@ in {
virtualHosts."eink.${host}" = {
forceSSL = true;
enableACME = true;
# sslCertificateKey = "/etc/nginx/certs/ca.key";
# sslCertificate = "/etc/nginx/certs/ca.crt";
extraConfig = ''
ssl_client_certificate /etc/nginx/certs/ca.crt;
ssl_verify_client on;
'';
locations."/" = {
# TODO fastcgi to the script
extraConfig = "return 200 'handshake worked !!!';";
};
# TODO: dont hardocde ports
locations."/" = { proxyPass = "http://127.0.0.1:8000"; };
};
virtualHosts."vault.${host}" = {