mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-02 03:55:41 +02:00
30 lines
774 B
YAML
30 lines
774 B
YAML
http:
|
|
middlewares:
|
|
crowdsec-bouncer:
|
|
forwardauth:
|
|
address: http://bouncer-traefik:8080/api/v1/forwardAuth
|
|
trustForwardHeader: true
|
|
myauth:
|
|
basicAuth:
|
|
usersfile: /users.txt
|
|
# torblock:
|
|
# plugin:
|
|
# torblock:
|
|
# enabled: true
|
|
# mygeoblock:
|
|
# plugin:
|
|
# GeoBlock:
|
|
# allowLocalRequests: true
|
|
# logLocalRequests: false
|
|
# logAllowedRequests: false
|
|
# logApiRequests: false
|
|
# api: "https://get.geojs.io/v1/ip/country/{ip}"
|
|
# apiTimeoutMs: 500
|
|
# cacheSize: 25
|
|
# forceMonthlyUpdate: true
|
|
# allowUnknownCountries: false
|
|
# unknownCountryApiResponse: "nil"
|
|
# countries:
|
|
# - ES
|
|
# - US
|