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

Fix for empty IP address when X-Real-IP not present #233

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Mar 26, 2022

Fix for #229 when using osctrl directly for TLS termination, without using nginx and X-Real-IP header is not present. Now it will check for X-Real-IP, X-Forwarded-For and of none of those are present, it will just capture the raw IP.

@javuto javuto added osctrl-tls osctrl-tls related changes osctrl-api osctrl-api related changes osctrl-admin osctrl-admin related changes 🚧 bugfix Fix for an existing bug labels Mar 26, 2022
@javuto javuto merged commit baaaa6b into main Mar 26, 2022
@javuto javuto deleted the fix-empty-ip-address branch March 26, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 bugfix Fix for an existing bug osctrl-admin osctrl-admin related changes osctrl-api osctrl-api related changes osctrl-tls osctrl-tls related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant