-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
hi, i don't know what's the problem with it. Unable to display country_code, it looks like my Geo db is not loading? But I actually pasted the link path correctly Please help me a little, thanks a lot
Result :
Hello from --
{
http_port 8080
https_port 8443
order geo_ip first
}
:8080 {
geo_ip {
account_id ""
api_key ""
reload_frequency "1d"
db_path "/var/log/caddy/GeoLite2-Country.mmdb"
trust_header "X-Real-IP"
}
respond / 200 {
body "Hello from {geoip.country_code}"
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels