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
In reply to Re: Getting visitor IP from Mojolicious::Lite behind Nginx
by beech
in thread Getting visitor IP from Mojolicious::Lite behind Nginx
by silent11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |