Skip to content

Real IP's not being passed by ssl proxy #431

@jacqueshenning

Description

@jacqueshenning

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions