cs-nginx-bouncer
cs-nginx-bouncer copied to clipboard
Allow use of .local config file
Hi,
On the nginx bouncer, the crowdsec-nginx-bouncer.conf.local config file is not read. This mean that you have to change the default file, and this break auto update, as the updater want to change crowdsec-nginx-bouncer.conf.
We need the ability to use a crowdsec-nginx-bouncer.conf.local file that will store local change.
Hi,
With the bouncer nginx, the crowdsec-nginx-bouncer.conf is parsed by the lua code. On the other bouncers, this feature is abstracted through github.com/go-cs-lib. So this has to be added and actively maintained. Can you share what are the changes you are using for your crowdsec-nginx-bouncer.conf ?
Hi,
api_key, api_url, appsec_url, mode, eventually enabled, captcha_provider, site_key, secret_key... I don't touch other configuration, but we should be able to change it too...
Is there a way to pass custom value without touching this file, and then don't be bothered with apt who tries to update the file sometimes?
For now, no other option is available. I will try to come up with a solution for this.
Hi,
The PR just got merged into main. This will be available in next release.
This has been released today in the 1.1.3