Closed deric closed 8 months ago
Hi, to add binds to a frontend, you should use the binds
resource at
POST /services/haproxy/configuration/binds?frontend=web&transaction_id=xxx
{
"name": "my_unix_socket_test_bind",
"address": "/run/haproxy/web.sock"
}
@mjuraga Awesome, works fine, thanks!
I'm trying to add a new frontend and I'd like to bind it to a Unix socket. The
haproxy.cfg
should look like this:I'm using an API call like this:
Is there another parameter than
bind_process
that would allow passing Unix socket?I'm using fairly old version, to match to OS package version: