Skip to content
New issue

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

[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. #7

Open
ALiwoto opened this issue Apr 14, 2022 · 0 comments
Open

[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. #7

ALiwoto opened this issue Apr 14, 2022 · 0 comments
Assignees
Labels
part/api everything related to api parts (such as http handlers, gin warnings or errors, etc etc) prio/low pull requests or issues with low priority size/tiny issues/pull requests or features that need very tiny amount of changes to the code base

Comments

@ALiwoto
Copy link
Owner

ALiwoto commented Apr 14, 2022

when debug variable in config file is set to true, gin prints these lines:

[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :5101

the link is pointing to https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies, this issue needs more investigation.

@ALiwoto ALiwoto added the prio/low pull requests or issues with low priority label Apr 14, 2022
@ALiwoto ALiwoto self-assigned this Apr 14, 2022
@ALiwoto ALiwoto added the part/api everything related to api parts (such as http handlers, gin warnings or errors, etc etc) label Apr 14, 2022
@ALiwoto ALiwoto added the size/tiny issues/pull requests or features that need very tiny amount of changes to the code base label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part/api everything related to api parts (such as http handlers, gin warnings or errors, etc etc) prio/low pull requests or issues with low priority size/tiny issues/pull requests or features that need very tiny amount of changes to the code base
Projects
None yet
Development

No branches or pull requests

1 participant