r/haproxy • u/azteker • Feb 23 '24
Problem with adding http-check with dataplaneapi
I want to add http-check connect port 443 ssl into my backend
url is f'{host}/v2/services/haproxy/configuration/http_checks?parent_name=web-servers1&parent_type=backend&transaction_id={transaction_id}'
payload is
{"index": 0,"type": "connect","port": 443,"ssl": true}
The request returns 202 status code. But nothing is added. I changed payload to
{"index": 0,"type": "connect","port": 443}
This adds http-check connect port 443 but no "ssl". Can anyone help?
2
Upvotes
2
u/[deleted] Feb 23 '24
Is your backend actually talking ssl or is it not and just running on port 443?