security(nginx): disable /metrics from dendrite
This commit is contained in:
parent
b32dcdb826
commit
ed86270ec3
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue