traefik config
This commit is contained in:
@@ -4,7 +4,7 @@ http:
|
||||
# Crowdsec
|
||||
crowdsec-bouncer:
|
||||
plugin:
|
||||
crowdsec-bouncer-plugin:
|
||||
crowdsec-bouncer-traefik-plugin:
|
||||
enabled: true
|
||||
logLevel: INFO
|
||||
updateIntervalSeconds: 60
|
||||
@@ -16,12 +16,12 @@ http:
|
||||
# generated using "docker exec crowdsec cscli bouncers add crowdsecBouncer"
|
||||
crowdseclapikey: {{ env "TRAEFIK_CROWDSEC_API_KEY" }}
|
||||
forwardedHeadersTrustedIPs:
|
||||
- 10.0.6.0/24
|
||||
- 10.0.0.0/8
|
||||
clientTrustedIPs:
|
||||
- 192.168.178.0/24
|
||||
captchaProvider: hcaptcha
|
||||
captchaSiteKey: b2d20610-8dda-4f40-8688-7ca8e1e628f8 # found in hcaptcha account
|
||||
captchaSecretKey: ES_9511d34bbec34dada169afad0a36991a
|
||||
captchaSecretKey: {{ env "TRAEFIK_CAPTCHA_KEY" }}
|
||||
captchaGracePeriodSeconds: 1800
|
||||
captchaHTMLFilePath: /captcha.html
|
||||
banHTMLFilePath: /ban.html
|
||||
@@ -150,15 +150,4 @@ http:
|
||||
node:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: {{ env TRAEFIK_MAIN_SERVER_NODE_IP }}
|
||||
|
||||
tls:
|
||||
stores:
|
||||
default:
|
||||
defaultCertificate:
|
||||
certFile: /etc/certs/server.crt
|
||||
keyFile: /etc/certs/server.key
|
||||
certificates:
|
||||
- certFile: /etc/certs/server.crt
|
||||
keyFile: /etc/certs/server.key
|
||||
|
||||
- url: http://{{ env "TRAEFIK_MAIN_SERVER_NODE_IP" }}
|
||||
|
||||
Reference in New Issue
Block a user