Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Proxy ip fix#695

Open
MoralCode wants to merge 4 commits intoCAVaccineInventory:mainfrom
MoralCode:proxy_ip_fix
Open

Proxy ip fix#695
MoralCode wants to merge 4 commits intoCAVaccineInventory:mainfrom
MoralCode:proxy_ip_fix

Conversation

@MoralCode
Copy link

fixes #310 using django-xff set to only trust one level of proxy as suggested in the comments.

based on the twitter replies, it seems as though HTTP_X_FORWARDED_FOR might be available from google clouds environment and may be more trustworthy??? not super sure.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API log should reflect forwarded IP addresses

1 participant