Hi,
If the server is running behind a reverse proxy(e.g., Nginx), the ip address in the b4j-xx.log will be the IP for the proxy.
The real ip can be got in the handler by
Is it possible to override the one in b4j-xx.log with the real one or add the real IP to the log?
Thanks
If the server is running behind a reverse proxy(e.g., Nginx), the ip address in the b4j-xx.log will be the IP for the proxy.
The real ip can be got in the handler by
B4X:
realIP = Request.GetHeader("X-Real-IP")
Is it possible to override the one in b4j-xx.log with the real one or add the real IP to the log?
Thanks