Skip to content

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

@ALiwoto

Description

@ALiwoto

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.

Metadata

Metadata

Assignees

Labels

part/apieverything related to api parts (such as http handlers, gin warnings or errors, etc etc)prio/lowpull requests or issues with low prioritysize/tinyissues/pull requests or features that need very tiny amount of changes to the code base

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions