in reply to Getting visitor IP from Mojolicious::Lite behind Nginx
However I'm still getting 127.0.0.1 after modifying my app to pull X-Real-IP, and restarting the server :(
:) Try Mojolicious::Plugin::RemoteAddr, it retrieves x-real-ip or x-forwarded-for or tx->remote_address
|
|---|