We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
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; }
The text was updated successfully, but these errors were encountered:
I can confirm this issue is present on the official v1.5.1 docker image.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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:
The text was updated successfully, but these errors were encountered: