mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix environment variable for setting crowdsec bouncer, was broken due to slashes in path.
This commit is contained in:
parent
82d2476855
commit
3a22a0c09c
@ -3,7 +3,7 @@
|
|||||||
set -e # Exit immediately if a command exits with a non-zero status.
|
set -e # Exit immediately if a command exits with a non-zero status.
|
||||||
|
|
||||||
function set_properties() {
|
function set_properties() {
|
||||||
sed -i "s/^$1=.*/$1=$2/" "${3}"
|
sed -i "s,^$1=.*,$1=$2,g" "${3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Deploy Crowdsec Openresty Bouncer.."
|
echo "Deploy Crowdsec Openresty Bouncer.."
|
||||||
|
Loading…
Reference in New Issue
Block a user