UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

Add HAProxy configuration example #43

Open schklom opened 1 year ago

schklom commented 1 year ago

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 \ Set the maximum inactivity time on the client side.

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

timeout server \ 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 commented 1 year ago

Have you tried this config ?

wargreen commented 10 months ago

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