crowdsecurity / cs-haproxy-bouncer

Crowdsec bouncer for HAProxy
MIT License
18 stars 7 forks source link

Fix usage over TLS #27

Open dik23 opened 1 year ago

dik23 commented 1 year ago

Currently to use this bouncer over https /usr/lib/crowdsec/lua/haproxy/crowdsec.lua needs hacking and http changing to https

https://github.com/crowdsecurity/cs-haproxy-bouncer/blob/031e1e37fea48a97d9e102f660b47027510c5a9f/lib/crowdsec.lua#L82

https://github.com/crowdsecurity/cs-haproxy-bouncer/blob/031e1e37fea48a97d9e102f660b47027510c5a9f/lib/crowdsec.lua#L205

This is not sane as it might not survive future updates