Skip to content

Commit

Permalink
Merge pull request #40 from crowdsecurity/bump_1.0.1
Browse files Browse the repository at this point in the history
bump to v1.0.1
  • Loading branch information
AlteredCoder authored Dec 20, 2023
2 parents 90189a5 + fb8623c commit eb9798e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/patches/crowdsec_nginx.conf.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ingress-nginx/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion openresty/crowdsec_openresty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eb9798e

Please sign in to comment.