From fb8623c3e34f83aafa02805350417f81277af862 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Wed, 20 Dec 2023 11:12:21 +0100 Subject: [PATCH] bump to v1.0.1 --- debian/patches/crowdsec_nginx.conf.patch | 2 +- ingress-nginx/main.lua | 2 +- openresty/crowdsec_openresty.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches/crowdsec_nginx.conf.patch b/debian/patches/crowdsec_nginx.conf.patch index 89525f5..60c7b51 100644 --- a/debian/patches/crowdsec_nginx.conf.patch +++ b/debian/patches/crowdsec_nginx.conf.patch @@ -10,7 +10,7 @@ Index: openresty/crowdsec_openresty.conf init_by_lua_block { cs = require "crowdsec" - local ok, err = cs.init("/etc/crowdsec/bouncers/crowdsec-openresty-bouncer.conf", "crowdsec-openresty-bouncer/v0.1.11") + local ok, err = cs.init("/etc/crowdsec/bouncers/crowdsec-openresty-bouncer.conf", "crowdsec-openresty-bouncer/v1.0.1") @@ -14,4 +14,4 @@ init_by_lua_block { access_by_lua_block { local cs = require "crowdsec" diff --git a/ingress-nginx/main.lua b/ingress-nginx/main.lua index 9547ee3..c6bef21 100644 --- a/ingress-nginx/main.lua +++ b/ingress-nginx/main.lua @@ -2,7 +2,7 @@ local cs = require "plugins.crowdsec.crowdsec" local ngx = ngx local _M = {} -local ok, err = cs.init("/etc/nginx/lua/plugins/crowdsec/crowdsec-bouncer.conf", "crowdsec-openresty-bouncer/v0.1.11") +local ok, err = cs.init("/etc/nginx/lua/plugins/crowdsec/crowdsec-bouncer.conf", "crowdsec-openresty-bouncer/v1.0.1") if ok == nil then ngx.log(ngx.ERR, "[Crowdsec] " .. err) error() diff --git a/openresty/crowdsec_openresty.conf b/openresty/crowdsec_openresty.conf index 04905a6..20d3dc3 100644 --- a/openresty/crowdsec_openresty.conf +++ b/openresty/crowdsec_openresty.conf @@ -4,7 +4,7 @@ lua_ssl_trusted_certificate ${SSL_CERTS_PATH}; init_by_lua_block { cs = require "crowdsec" - local ok, err = cs.init("/etc/crowdsec/bouncers/crowdsec-openresty-bouncer.conf", "crowdsec-openresty-bouncer/v0.1.11") + local ok, err = cs.init("/etc/crowdsec/bouncers/crowdsec-openresty-bouncer.conf", "crowdsec-openresty-bouncer/v1.0.1") if ok == nil then ngx.log(ngx.ERR, "[Crowdsec] " .. err) error()