add static
This commit is contained in:
parent
df40c3bf72
commit
c86797b23a
1 changed files with 5 additions and 12 deletions
|
|
@ -42,20 +42,13 @@ in
|
||||||
index = "index.html";
|
index = "index.html";
|
||||||
tryFiles = "$uri $uri/ $uri.html =404";
|
tryFiles = "$uri $uri/ $uri.html =404";
|
||||||
};
|
};
|
||||||
"/twentyyears/" = {
|
"/twentyyears/".alias = "/srv/http/twentyyears/";
|
||||||
alias = "/srv/http/twentyyears/";
|
"/thirtytwoyears/".alias = "/srv/http/thirtytwoyears/";
|
||||||
};
|
|
||||||
"/thirtytwoyears/" = {
|
|
||||||
alias = "/srv/http/thirtytwoyears/";
|
|
||||||
};
|
|
||||||
# RFC8805
|
# RFC8805
|
||||||
"/noc/" = {
|
"/noc/".alias = "/srv/http/noc/";
|
||||||
alias = "/srv/http/noc/";
|
"/static/".alias = "/srv/http/static/";
|
||||||
};
|
|
||||||
# RFC8805 new location
|
# RFC8805 new location
|
||||||
"/.well-known/loc/" = {
|
"/.well-known/loc/".alias = "/srv/http/noc/";
|
||||||
alias = "/srv/http/noc/";
|
|
||||||
};
|
|
||||||
"= /.well-known/security.txt" = {
|
"= /.well-known/security.txt" = {
|
||||||
alias = "/srv/http/security.txt";
|
alias = "/srv/http/security.txt";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue