This commit is contained in:
XenGi 2026-08-12 02:18:41 +02:00
commit 1a3aeafc0c
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -83,6 +83,9 @@ in
"~ ^/calendars/([^/]+\.ics)$" = {
alias = "/srv/http/calendars/$1";
extraConfig = ''
if ($http_origin ~ '^https://(www\.)?berlin\.ccc\.de$') {
add_header Access-Control-Allow-Origin $http_origin always;
}
add_header Cache-Control "no-cache";
types {
text/calendar ics;