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
I think you misunderstood my point. The X-Forwarded-For header is being set by Nginx properly. The problem lies in accessing the client's IP address reliably.
Currently, we can access the actual client's IP by doing something like
When deployed behind a proxy (e.g. Nginx proxy) there is no simple way to access the client's real remote address through
env
.To get the real IP, you will have to get
x-forwarded-for
from:headers
.I am using Clack with Hunchentoot server.
From my understanding, the handler for Huchentoot should use
:remote-addr (real-remote-addr req)
instead of:remote-addr (remote-addr* req)
The text was updated successfully, but these errors were encountered: