Files
selfhostingfromscratch/traefik_dynamic_config.yaml
2025-11-15 04:30:17 -05:00

24 lines
683 B
YAML

http:
middlewares:
crowdsec-bouncer:
forwardauth:
address: http://crowdsec-bouncer:8080/api/v1/forwardAuth
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