crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

Improvement/Add proxy config to config.yaml

Open blotus opened this issue 4 years ago • 1 comments

Currently, the only way to configure crowdsec/cscli to use a proxy is to set HTTP_PROXY or HTTPS_PROXY in the env.

While it mostly works, there are some usecases where it does not (for example, if the user runs sudo cscli ...., sudo won't keep those env vars).

We should add a new option in config.yaml to allow the user to set a proxy without messing with env vars.

This would also ease the setup on windows (as adding env vars to a service requires a registry edit).

blotus avatar Feb 02 '22 13:02 blotus

Assign @mmetc for investigation stage

LaurenceJJones avatar Oct 06 '23 12:10 LaurenceJJones