-
Notifications
You must be signed in to change notification settings - Fork 324
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
Real IP's not being passed by ssl proxy #431
Comments
Can anyone assist here? Any advise would be appreciated. |
I narrowed it down. On a Regular LEMP stack the config would file to edit would be: API Umbrella is recording the Proxy IP and not the connecting clients real IP's. Could one of the dev's please assist with this or point me in the right direction. |
Figured it out. Changed: Original config:
Change to:
Restart API Umbrella: You can add load balancers, SSL, Reverse Proxies and WAF like this. |
Hi
I have a separate nginx ssl proxy setup infront of API Umbrella.
how do I enable API Umbrella to receive the real IP of the client connecting to the proxy?
I have:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Also using: (for testing purposes)
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $remote_addr;
set in the ssl proxy config...
But where can I add:
set_real_ip_from 10.0.0.0/8;
real_ip_header X-Real-IP;
real_ip_recursive on;
On the API Umbrella host?
Kind Regards
The text was updated successfully, but these errors were encountered: