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;
|
kTLS = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/all.ics".root = "/srv/www/calendar";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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}" = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue