reenable crowdsec for nginx with 1 eybrow raised [ci skip]

This commit is contained in:
Viktor Barzin 2024-01-06 22:03:38 +00:00
parent 89ca8cf989
commit e6642ea08d

View file

@ -325,9 +325,9 @@ resource "kubernetes_config_map" "ingress_nginx_controller" {
setvar:tx.block_harvester_ip=1,\
setvar:tx.block_spammer_ip=1"
EOT
# plugins = "crowdsec"
# plugins = "crowdsec"
plugins = ""
lua-shared-dicts = "crowdsec_cache: 50m"
lua-shared-dicts = "crowdsec_cache: 500m"
server-snippet : <<-EOT
lua_ssl_trusted_certificate "/etc/ssl/certs/ca-certificates.crt"; # Captcha
#resolver local=on ipv6=off valid=600s;