404 error
ingus16 opened this issue · comments
Hi,
Any suggestions what could be wrong if I turn plugin on its shows 404 not found
When turn off all works as should be
[http.middlewares]
[http.middlewares.my-GeoBlock]
[http.middlewares.my-GeoBlock.plugin]
[http.middlewares.my-GeoBlock.plugin.GeoBlock]
allowLocalRequests = "false"
allowUnknownCountries = "false"
api = "https://get.geojs.io/v1/ip/country/{ip}"
apiTimeoutMs = "150"
cacheSize = "15"
countries = "GB"
blackListMode: "false"
addCountryHeader: "false"
forceMonthlyUpdate = "true"
logAllowedRequests = "true"
logApiRequests = "true"
logLocalRequests = "true"
unknownCountryApiResponse = "nil"
allowedIPAddresses = "192.168.0.0/24"
[experimental.plugins.GeoBlock]
moduleName = "github.com/PascalMinder/GeoBlock"
version = "v0.2.7"
What files are those you pasted into the issues? Where are they saved? What are the names of the files?
Never mind, spent two days to figure it out. Not working regardless of what I do.
No error and not working or my-GeoBlock@file not exist error.
Decided to go via Cloudflare as less hassle