We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2117ba8 commit bc6f13cCopy full SHA for bc6f13c
docker/rootfs/etc/services.d/crowdsec_openresty_bouncer/run
@@ -3,6 +3,9 @@
3
set -e # Exit immediately if a command exits with a non-zero status.
4
5
mkdir -p /data/crowdsec/templates
6
+echo "Deploy Crowdsec Openresty Bouncer.."
7
+sed -i 's|/defaults/crowdsec|/data/crowdsec|' /etc/nginx/conf.d/crowdsec_openresty.conf
8
+
9
if [ -f /data/crowdsec/crowdsec-openresty-bouncer.conf ]; then
10
echo "Patch crowdsec-openresty-bouncer.conf .."
11
sed "s/=.*//g" /data/crowdsec/crowdsec-openresty-bouncer.conf > /tmp/crowdsec.conf.raw
0 commit comments