Hello
I have a problem to find the way to know the country of origin of the Internet users of my website.
The objective is to use the grafana-worldmap-panel plugin.
I have successfully run caddy-maxmind-geolocation but there are no logs in caddy.
Here is my config:
(GEOFILTER) {
@geofilter {
not maxmind_geolocation {
db_path "/etc/caddy/GeoLite2-Country.mmdb"
allow_countries FR
}
}
respond @geofilter 403
}
example.com {
import GEOFILTER
reverse_proxy localhost:9999
log {
format json
output file /var/log/caddy/example-com.log {
roll_size 1gb
roll_keep 5
roll_keep_for 720h
}
}
}
Do you have a lead or an idea to unblock me?
Thank you