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