You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
How can i get real ip from client?
In nginx i have:
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8;
Already fixed log format but still see ip from docker network, i mean ip is 172.17.0.1.
The text was updated successfully, but these errors were encountered:
Hello,
How can i get real ip from client?
In nginx i have:
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8;
Already fixed log format but still see ip from docker network, i mean ip is 172.17.0.1.
The text was updated successfully, but these errors were encountered: