security(nginx): disable /metrics from dendrite

This commit is contained in:
stitchy 2025-08-02 22:57:10 -07:00
parent b32dcdb826
commit ed86270ec3
Signed by: stitchy
SSH key fingerprint: SHA256:f7Wxv5r7Ooi4z3GxqMBx50LlPRtY/kUK/Sw8K02PYys

View file

@ -65,6 +65,9 @@ in {
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:9008"; proxyPass = "http://127.0.0.1:9008";
}; };
locations."/metrics" = {
return = "404";
};
}; };
"syncv3.stitchy.moe" = { "syncv3.stitchy.moe" = {
enableACME = true; enableACME = true;