feat: calendar via nginx

This commit is contained in:
Noa Aarts 2024-08-31 17:50:57 +02:00
parent d852f233ff
commit c4e70114ac
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -168,7 +168,7 @@
radicale = { radicale = {
enable = true; enable = true;
settings = { settings = {
server.hosts = [ "0.0.0.0:29341" "[::]:29341" ]; server.hosts = [ "[::1]:29341" ];
auth = { auth = {
type = "htpasswd"; type = "htpasswd";
htpasswd_filename = "/var/radicale_users"; htpasswd_filename = "/var/radicale_users";
@ -268,6 +268,8 @@
}; };
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
"noasserver" = { "noasserver" = {
locations."/".proxyPass = "http://127.0.0.1:22332"; locations."/".proxyPass = "http://127.0.0.1:22332";
}; };
@ -323,6 +325,7 @@
"rc.itepastra.nl" "rc.itepastra.nl"
"pfa.itepastra.nl" "pfa.itepastra.nl"
"mail.itepastra.nl" "mail.itepastra.nl"
"calendar.itepastra.nl"
]; ];
}; };
}; };
@ -335,7 +338,6 @@
3000 # hydra 3000 # hydra
22000 # syncthing 22000 # syncthing
29341 # radicale
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
22 # ssh 22 # ssh