Spotted this on a port log - changed the port Name and user IP was 127.0.0.1.
We need X-Forwarded-For
This should be accessible via request->forwarded_for_address. If request->remote_address is 127.0.0.1 then check request->forwarded_for_address?
or use Plack::Middleware::ReverseProxy ?
Used the Plack middleware plugin to set the params correctly.
We need X-Forwarded-For
This should be accessible via request->forwarded_for_address. If request->remote_address is 127.0.0.1 then check request->forwarded_for_address?
or use Plack::Middleware::ReverseProxy ?
Used the Plack middleware plugin to set the params correctly.