block access to the go /debug/pprof/ endpoint

This commit is contained in:
Franzi 2022-08-19 07:26:01 +02:00
parent 0113b9a565
commit aa5c7ff8b4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 15 additions and 3 deletions

View file

@ -82,6 +82,9 @@ def nginx(metadata):
'/': {
'target': 'http://127.0.0.1:22000',
},
'/debug': {
'return': 403,
},
},
'website_check_path': '/user/login',
'website_check_string': 'Sign In',