mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2026-05-18 07:40:36 +00:00
Fixed build to correctly install crowdsec-openresty-bouncer
This commit is contained in:
Regular → Executable
+2
-2
@@ -13,10 +13,10 @@ cd /tmp
|
||||
#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"
|
||||
mkdir -p /tmp/crowdsec
|
||||
tar -xzf --strip 1 crowdsec-openresty-bouncer.tgz -C /tmp/crowdsec
|
||||
tar xzf crowdsec-openresty-bouncer.tgz --strip 1 -C /tmp/crowdsec
|
||||
cd /tmp/crowdsec
|
||||
|
||||
bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/etc/nginx/lualib --CONFIG_PATH=/defaults/crowdsec --DATA_PATH=/defaults/crowdsec --docker
|
||||
sed-patch 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf
|
||||
sed -i 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf
|
||||
|
||||
echo -e "${BLUE}❯ ${GREEN}OpenResty plugins install completed${RESET}"
|
||||
|
||||
Reference in New Issue
Block a user