mirror of
https://github.com/ImranR98/selfhostingfromscratch.git
synced 2026-04-24 06:38:36 -04:00
Use GeoBlock to blacklist/whitelist countries
This commit is contained in:
@@ -3,4 +3,22 @@ http:
|
||||
crowdsec-bouncer:
|
||||
forwardauth:
|
||||
address: http://crowdsec-bouncer:8080/api/v1/forwardAuth
|
||||
trustForwardHeader: true
|
||||
trustForwardHeader: true
|
||||
geoblock:
|
||||
plugin:
|
||||
geoblock:
|
||||
silentStartUp: false
|
||||
allowLocalRequests: true
|
||||
logLocalRequests: false
|
||||
logAllowedRequests: true
|
||||
logApiRequests: true
|
||||
api: "https://get.geojs.io/v1/ip/country/{ip}"
|
||||
apiTimeoutMs: 750
|
||||
cacheSize: 15
|
||||
forceMonthlyUpdate: true
|
||||
allowUnknownCountries: false
|
||||
unknownCountryApiResponse: "nil"
|
||||
blackListMode: false
|
||||
countries:
|
||||
- CA
|
||||
- TZ
|
||||
Reference in New Issue
Block a user