plain 404

This commit is contained in:
müde 2026-11-22 15:52:03 +01:00
commit 0a04753c3e

View file

@ -52,7 +52,7 @@ in
''; '';
locations = { locations = {
"/_matrix/".proxyPass = "http://unix:${socket}"; "/_matrix/".proxyPass = "http://unix:${socket}";
"/".return = "404 \"\""; "/".return = "404 \" \"";
}; };
}; };
@ -71,7 +71,7 @@ in
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
return 200 '${builtins.toJSON { "m.homeserver".base_url = "https://${domain}"; }}'; return 200 '${builtins.toJSON { "m.homeserver".base_url = "https://${domain}"; }}';
''; '';
"/".return = "404 \"\""; "/".return = "404 \" \"";
}; };
}; };
}; };