hedgedoc: forbid access to metrics and stats
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Sophie Schiller 2021-11-09 11:58:11 +01:00
parent 55798ac704
commit eef463afbd

View file

@ -137,6 +137,14 @@ def nginx(metadata):
'X-Real-IP': '$remote_addr',
},
},
'/metrics': {
'return': 'forbidden',
'mode': 403,
},
'/status': {
'return': 'forbidden',
'mode': 403,
},
}
vhosts = {