add ics files

This commit is contained in:
XenGi 2026-07-14 19:20:44 +02:00
commit 51a7660478
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
2 changed files with 7 additions and 1 deletions

View file

@ -17,7 +17,6 @@
kTLS = true;
forceSSL = true;
enableACME = true;
locations."/all.ics".root = "/srv/www/calendar";
};
};
}

View file

@ -45,6 +45,9 @@ in
"/twentyyears/" = {
alias = "/srv/http/twentyyears/";
};
"/thirtytwoyears/" = {
alias = "/srv/http/thirtytwoyears/";
};
# RFC8805
"/noc/" = {
alias = "/srv/http/noc/";
@ -81,6 +84,10 @@ in
autoindex on;
'';
};
"~ ^/calendar/[^/]+\.ics$" = {
root = "/srv/http/ics";
tryFiles = "$uri $uri/ $uri.ics =404";
};
};
};
"staging.${config.networking.domain}" = {