I am trying to get WAN IP in my auth server but when I tried to get IP from request its return localhost IP or IP of the machine where ejabberd is running.
Is there any way to pass original IP to HTTP auth server to get IP of the original request or can we pass X-Forwarded-For to auth server?
I am trying to get WAN IP in my auth server but when I tried to get IP from request its return localhost IP or IP of the machine where ejabberd is running. Is there any way to pass original IP to HTTP auth server to get IP of the original request or can we pass X-Forwarded-For to auth server?
The documentation mentions something like
But not further explanation
connection_opts
.ejabberd_auth_http Thanks.