Precompute captcha section on startup since its based on (what) an ENV

Remove unused captcha_backend_name and captcha backend in config, not needed since haproxy 2.7
This commit is contained in:
Thomas Lynch
2024-09-16 22:27:52 +10:00
parent 601a2b3989
commit c2074eec5f
3 changed files with 18 additions and 40 deletions

View File

@ -184,11 +184,3 @@ backend bot_check_post_throttle
backend count_qs_throttle
stick-table type string size 100k expire 60s store http_req_rate(60s)
backend hcaptcha
mode http
server hcaptcha hcaptcha.com:443
backend recaptcha
mode http
server recaptcha www.google.com:443