diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index d35744f..a7df103 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -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 = ''