Updated crowdsec openresty bouncer to 0.1.7

This commit is contained in:
Brian Munro
2022-03-14 15:11:12 +02:00
parent c9cb887b4a
commit f819b8a87a
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -57,6 +57,7 @@ RUN apt-get update \
tzdata \
unzip \
zlib1g \
gettext \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
+1 -1
View File
@@ -9,7 +9,7 @@ RESET='\E[0m'
DOCKER_IMAGE=nginxproxymanager/nginx-full
export OPENRESTY_VERSION=1.19.9.1
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.1
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.7
export LUA_VERSION=5.1.5
export LUAROCKS_VERSION=3.3.1
+1 -3
View File
@@ -9,9 +9,7 @@ RESET='\E[0m'
echo -e "${BLUE} ${CYAN}Installing Crowdsec OpenResty Bouncer ${YELLOW}${CROWDSEC_OPENRESTY_BOUNCER_VERSION}...${RESET}"
cd /tmp
#Offical Crowdsec download location is currently blocked due to two pull requests waiting to be added for full support for Docker installs
#weg "https://github.com/crowdsecurity/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz"
wget "https://github.com/LePresidente/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz"
wget "https://github.com/crowdsecurity/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz"
mkdir -p /tmp/crowdsec
tar xzf crowdsec-openresty-bouncer.tgz --strip 1 -C /tmp/crowdsec
cd /tmp/crowdsec