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
The client IP in nominatim-docker / Apache logs is not informative
The Apache logs now only show 172.17.0.1 or whatever docker network the container is attached to.
This only tells you that something made a request...
Describe the solution you'd like
It would be helpful to see the actual IP of the client request.
Solution (as long as the docker image is not updated)
If you like to see actual IP addresses of clients querying nominatim you can do following steps.
Make sure your proxy server sends the right header - in this case X-Forwarded-For...
The client IP in nominatim-docker / Apache logs is not informative
The Apache logs now only show 172.17.0.1 or whatever docker network the container is attached to.
This only tells you that something made a request...
Describe the solution you'd like
It would be helpful to see the actual IP of the client request.
Solution (as long as the docker image is not updated)
If you like to see actual IP addresses of clients querying nominatim you can do following steps.
Make sure your proxy server sends the right header - in this case
X-Forwarded-For
...nano
remoteip
modthat's
%a
instead of%h
remoteip
config fileuse whatever header your proxy server sends - here it is
X-Forwarded-For
use whatever IP is shown in the logs now - here it is
172.17.0.1
remoteip
by linking the config into/etc/apache2/conf-enabled
it should say
Syntax OK
Now your logs should include the real IP from the client making the request.
Thanks to the nominatim people for their great work!
The text was updated successfully, but these errors were encountered: