adam8884 Posted February 6 Share Posted February 6 Hello Unraid-community, I try to set up a "Nginx Logs and GEO map dashboard" by gilbN using docker container lastest version of NGINX and geoip2influx on my unraid. (https://github.com/gilbN/geoip2influx) I add the following information in "nginx.conf": http { geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb { auto_reload 5m; $geoip2_data_country_iso_code country iso_code; $geoip2_data_city_name city names en; } log_format custom '$remote_addr - $remote_user [$time_local]' '"$request" $status $body_bytes_sent' '"$http_referer" $host "$http_user_agent"' '"$request_time" "$upstream_connect_time"' '"$geoip2_data_city_name" "$geoip2_data_country_iso_code"'; ... and when I start the NGINX container I get the following: nginx: [emerg] MMDB_open("/config/geoip2db/GeoLite2-City.mmdb") failed - Error opening the specified MaxMind DB file in /config/nginx/nginx.conf:31 Unfortunately I cannot find any discussions about it. May someone can support me how to solve the issue. Adam Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.