add static

This commit is contained in:
XenGi 2026-07-15 01:32:39 +02:00
commit c86797b23a
Signed by: xengi
SSH key fingerprint: SHA256:EvLbWxFCtfmd+8Xa6RkzkhIga+wFkKCekfFacYVn63M

View file

@ -42,20 +42,13 @@ in
index = "index.html";
tryFiles = "$uri $uri/ $uri.html =404";
};
"/twentyyears/" = {
alias = "/srv/http/twentyyears/";
};
"/thirtytwoyears/" = {
alias = "/srv/http/thirtytwoyears/";
};
"/twentyyears/".alias = "/srv/http/twentyyears/";
"/thirtytwoyears/".alias = "/srv/http/thirtytwoyears/";
# RFC8805
"/noc/" = {
alias = "/srv/http/noc/";
};
"/noc/".alias = "/srv/http/noc/";
"/static/".alias = "/srv/http/static/";
# RFC8805 new location
"/.well-known/loc/" = {
alias = "/srv/http/noc/";
};
"/.well-known/loc/".alias = "/srv/http/noc/";
"= /.well-known/security.txt" = {
alias = "/srv/http/security.txt";
extraConfig = ''