mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
fix #1794 (TLS is forced even when -e USE_TLS="false")
This commit is contained in:
parent
a50a3362bd
commit
daae241ff9
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ if [ "$GID" != "" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$USE_TLS" != "" ]; then
|
||||
if [ "${USE_TLS,,}" == "true" ]; then
|
||||
yq -i eval ".api.server.tls.cert_file = \"$CERT_FILE\"" "$CS_CONFIG_FILE"
|
||||
yq -i eval ".api.server.tls.key_file = \"$KEY_FILE\"" "$CS_CONFIG_FILE"
|
||||
yq -i eval '... comments=""' "$CS_CONFIG_FILE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue