mirror of https://github.com/mpolden/echoip
21 lines
397 B
TOML
21 lines
397 B
TOML
Listen = ":8080"
|
|
TemplateDir = "html"
|
|
RedisUrl = "redis://localhost:6379"
|
|
CacheTtl = 3600 # in seconds
|
|
ReverseLookup = true
|
|
PortLookup = true
|
|
ShowSponsor = true
|
|
Database = "ipstack" # use "IP Stack" or "GeoIP"
|
|
TrustedHeaders = []
|
|
Profile = false # enable debug / profiling
|
|
|
|
[IPStack]
|
|
ApiKey = "HelloWorld"
|
|
UseHttps = true
|
|
EnableSecurity = true
|
|
|
|
[GeoIP]
|
|
CountryFile = ""
|
|
CityFile = ""
|
|
AsnFile = ""
|