Closed northdakota closed 3 years ago
Hello,
If mod_realip is already setup, the real ip is going to end up in ngx.var.remote_addr. Plus, we shouldn't blindly trust the x-forwarded-for header :)
ngx.var.remote_addr
Hello,
If mod_realip is already setup, the real ip is going to end up in
ngx.var.remote_addr
. Plus, we shouldn't blindly trust the x-forwarded-for header :)