Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Add HAProxy configuration example #43

Open
schklom opened this issue Jul 25, 2023 · 2 comments
Open

Add HAProxy configuration example #43

schklom opened this issue Jul 25, 2023 · 2 comments

Comments

@schklom
Copy link

schklom commented Jul 25, 2023

I think the equivalent of

proxy_connect_timeout   10m;
proxy_send_timeout      10m;
proxy_read_timeout      10m;

in HAProxy config is

timeout connect 10m
timeout client 10m
timeout server 10m

According to official docs,

timeout client <timeout>
Set the maximum inactivity time on the client side.

timeout connect <timeout>
Set the maximum time to wait for a connection attempt to a server to succeed.

timeout server <timeout>
Set the maximum inactivity time on the server side.

I believe buffering is disabled by default in HAProxy, so there is nothing to do there.

I'm bad with Nginx. Do the timeout descriptions match the config for Nginx?

@p1gp1g
Copy link
Member

p1gp1g commented Aug 15, 2023

Have you tried this config ?

@wargreen
Copy link

Also interested to see if this is the good config.
And do you know the equivalent for buffering ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants