fix: nginx for radicale

This commit is contained in:
Ahwx 2024-12-05 12:58:32 +01:00
parent 46de81538f
commit 8af26da6c2

View file

@ -12,24 +12,25 @@
}; };
}; };
# services.nginx = { services.nginx = {
# enable = true; enable = true;
# recommendedProxySettings = true; recommendedProxySettings = true;
# recommendedTlsSettings = true; recommendedTlsSettings = true;
# virtualHosts = { virtualHosts = {
# "calendar.liv.town" = { "calendar.liv.town" = {
# forceSSL = true; forceSSL = true;
# enableACME = true; sslCertificate = "/var/lib/acme/liv.town/cert.pem";
# # locations."/radicale/" = { sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
# locations."/" = { # locations."/radicale/" = {
# proxyPass = "http://127.0.0.1:5232/"; locations."/" = {
# extraConfig = '' proxyPass = "http://127.0.0.1:5232/";
# # proxy_set_header X-Script-Name /radicale; # extraConfig = ''
# proxy_set_header X-Script-Name /; # # proxy_set_header X-Script-Name /radicale;
# proxy_pass_header Authorization; # # proxy_set_header X-Script-Name /;
# ''; # proxy_pass_header Authorization;
# }; # '';
# }; };
# }; };
# }; };
};
} }