From c86797b23afde2ed572334b5a1bf3a9cb1570abb Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Wed, 15 Jul 2026 01:32:39 +0200 Subject: [PATCH] add static --- hosts/www/nginx.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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 = ''