Closed erdoukki closed 3 years ago
For (more) information:
sudo dpkg-reconfigure crowdsec-nginx-bouncer
do not help to fix
sudo apt install crowdsec-nginx-bouncer --reinstall
do not help to fix
sudo apt purge crowdsec-nginx-bouncer
sudo apt install crowdsec-nginx-bouncer
fixed the installation (with envsubst added manually by sudo apt install gettext-base
)
admin@myREVERSE:~$ cat /etc/crowdsec/bouncers/crowdsec-nginx-bouncer.conf
API_URL=http://127.0.0.1:8080
API_KEY= 2aa9ca638b5eeec97cff173c42a9cb8b
LOG_FILE=/var/log/crowdsec_lua_bouncer.log
LOG_LEVEL=INFO
CACHE_EXPIRATION=1
CACHE_SIZE=1000
Hello @erdoukki !
Seen the issue, nice spotting. Adding it to the deps right now :+1:
sudo apt install crowdsec-nginx-bouncer
Some verifications:
envsubst is missing from Debian !
Some possible workarounds and/or resolutions:
envsubst in go https://github.com/a8m/envsubst It is the planned solution for OpenWrt... PR porposed https://github.com/openwrt/packages/pull/16664
replace envsubst with sed patterns It is the actual workaround used in Crowdsec PR for OpenWrt
and
from : https://github.com/openwrt/packages/pull/16244/files