Closed
Description
- Gitea version (or commit ref): 364c029
- Can you reproduce the bug at https://try.gitea.io:
Description
I do not expect to have those debug information public available.
Those get added in go-macaron/toolbox
gitea/vendor/github.com/go-macaron/toolbox/toolbox.go
Lines 136 to 140 in 364c029
which got added in #1290:
gitea/routers/routes/routes.go
Lines 127 to 134 in 364c029
Badly there does not seem to be an option to disable this without removing the Toolbox completly.
//EDIT: As a temporary workaround I added this to my nginx config:
location /debug {
return 403;
}