mirror of
https://forge.darkest.space/mara/nixos-configs.git
synced 2026-11-22 20:39:44 +01:00
plain 404
This commit is contained in:
parent
7577f9df1c
commit
0a04753c3e
1 changed files with 2 additions and 2 deletions
|
|
@ -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 \" \"";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue