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; kTLS = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/all.ics".root = "/srv/www/calendar";
}; };
}; };
} }

View file

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