add ics files
This commit is contained in:
parent
405ea5c438
commit
51a7660478
2 changed files with 7 additions and 1 deletions
|
|
@ -17,7 +17,6 @@
|
|||
kTLS = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/all.ics".root = "/srv/www/calendar";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}" = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue