Skip to content

Commit ce62790

Browse files
authored
chore: adjust crowdsec middleware
1 parent 9740c4c commit ce62790

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

examples/traefik/fileConfig.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,20 @@ http:
9595
# plugin:
9696
# bouncer:
9797
# enabled: true
98-
# updateIntervalSeconds: 60
99-
# updateMaxFailure: 0
10098
# defaultDecisionSeconds: 60
101-
# httpTimeoutSeconds: 10
10299
# crowdsecMode: live
103100
# crowdsecAppsecFailureBlock: true
104101
# crowdsecAppsecUnreachableBlock: true
105-
# crowdsecLapiKey: $CROWDSEC-BOUNCER-API-TOKEN
102+
# crowdsecLapiKey: FIXME-LAPI-KEY # <--- replace this later
106103
# crowdsecLapiHost: crowdsec:8080
107104
# crowdsecLapiScheme: http
108105
# crowdsecLapiTLSInsecureVerify: false
109-
# crowdsecCapiScenarios:
110-
# - crowdsecurity/traefik
111-
# - crowdsecurity/http-cve
112-
# - crowdsecurity/appsec-virtual-patching
113-
# - crowdsecurity/appsec-generic-rules
114106
# forwardedHeadersTrustedIPs:
107+
# # private class ranges
115108
# - 10.0.0.0/8
116109
# - 172.16.0.0/12
117110
# - 192.168.0.0/16
111+
# # cloudflare ipv4
118112
# - 103.21.244.0/22
119113
# - 103.22.200.0/22
120114
# - 103.31.4.0/22
@@ -130,6 +124,7 @@ http:
130124
# - 190.93.240.0/20
131125
# - 197.234.240.0/22
132126
# - 198.41.128.0/17
127+
# # cloudflare ipv6
133128
# - 2400:cb00::/32
134129
# - 2606:4700::/32
135130
# - 2803:f800::/32
@@ -138,6 +133,7 @@ http:
138133
# - 2a06:98c0::/29
139134
# - 2c0f:f248::/32
140135
# clientTrustedIPs:
136+
# # private class ranges
141137
# - 10.0.0.0/8
142138
# - 172.16.0.0/12
143139
# - 192.168.0.0/16

0 commit comments

Comments
 (0)