feat: Adds appsec to crowdsec configuration.
This commit is contained in:
@@ -1,31 +1,30 @@
|
||||
{
|
||||
email {env.ACME_EMAIL}
|
||||
servers {
|
||||
client_ip_headers X-Forwarded-For
|
||||
trusted_proxies static private_ranges
|
||||
trusted_proxies_strict
|
||||
}
|
||||
order crowdsec before respond
|
||||
crowdsec {
|
||||
api_url http://crowdsec:8080
|
||||
api_key {$CROWDSEC_API_KEY}
|
||||
ticker_interval 15s
|
||||
}
|
||||
log {
|
||||
level INFO
|
||||
output file /var/log/caddy/access.log
|
||||
}
|
||||
email {env.ACME_EMAIL}
|
||||
servers {
|
||||
client_ip_headers X-Forwarded-For
|
||||
trusted_proxies static private_ranges
|
||||
trusted_proxies_strict
|
||||
}
|
||||
order crowdsec before respond
|
||||
crowdsec {
|
||||
api_url http://crowdsec:8080
|
||||
api_key {$CROWDSEC_API_KEY}
|
||||
ticker_interval 15s
|
||||
appsec_url http://crowdsec:7422
|
||||
}
|
||||
log {
|
||||
level INFO
|
||||
output file /var/log/caddy/access.log
|
||||
}
|
||||
}
|
||||
|
||||
ductcalc.pro {
|
||||
tls {
|
||||
dns cloudflare {env.CF_AUTH_TOKEN}
|
||||
resolvers 1.1.1.1
|
||||
}
|
||||
|
||||
tls {
|
||||
dns cloudflare {env.CF_AUTH_TOKEN}
|
||||
resolvers 1.1.1.1
|
||||
}
|
||||
|
||||
log
|
||||
crowdsec
|
||||
reverse_proxy http://ductcalc:8080
|
||||
log
|
||||
crowdsec
|
||||
reverse_proxy http://ductcalc:8080
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user