diff --git a/layers/home.queezle.net.nix b/layers/home.queezle.net.nix index 26f42bc97a53241fbcfba625c426fca04c2bbd81..c834479561e757a8f97596af016da61c6dd89eb6 100644 --- a/layers/home.queezle.net.nix +++ b/layers/home.queezle.net.nix @@ -13,6 +13,7 @@ ''; locations = { "= /" = { + extraConfig = "default_type text/plain;"; return = ''200 "Hello World!"''; }; "/ip" = { @@ -31,6 +32,9 @@ index = "index.html"; extraConfig = "auth_request /auth;"; }; + "/tmp/" = { + alias = "/srv/tmp/"; + }; "/mqtt" = { proxyPass = "http://localhost:1884"; proxyWebsockets = true;