Skip to content

Conversation

@goemktg
Copy link

@goemktg goemktg commented Feb 19, 2024

This PR sets up a trusted proxy to prevent the ip of the LB or proxy (Cloudflare) from being recorded in the security log instead of the user's real IP.

Anyone who wants to can set the TRUSTED_PROXIES value in the .env file to make it work. Example) TRUSTED_PROXIES=103.21.244.0/22,103.22.200.0/22

solves : eveseat/seat#709

This is my first open source contribution, if there's a better way to do it or something to fix, I'll fix it.

@Crypta-Eve
Copy link
Member

Hey, thanks for the PR :) I want you to know that I am not ignoring it and instead I am trying to ensure that this works as I expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants