hedgedoc: forbid access to metrics and stats
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
55798ac704
commit
eef463afbd
1 changed files with 8 additions and 0 deletions
|
@ -137,6 +137,14 @@ def nginx(metadata):
|
|||
'X-Real-IP': '$remote_addr',
|
||||
},
|
||||
},
|
||||
'/metrics': {
|
||||
'return': 'forbidden',
|
||||
'mode': 403,
|
||||
},
|
||||
'/status': {
|
||||
'return': 'forbidden',
|
||||
'mode': 403,
|
||||
},
|
||||
}
|
||||
|
||||
vhosts = {
|
||||
|
|
Loading…
Reference in a new issue