-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
In the section about the proxy config, there are multiple directives duplicated, but with different settings.
E.g. keepalive_timeout 3600s; and keepalive_timeout 5m;
Which of them would you recommend to use?
# Disable buffering - essential for SSE
proxy_buffering off;
proxy_request_buffering off;
# Extend timeouts for long connections
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
keepalive_timeout 3600s;
# Prevent nginx from trying other upstreams
proxy_next_upstream off;
# Increase max upload size (required for Tus — without this, uploads over 1 MB fail)
client_max_body_size 10M;
# Disable buffering - essential for SSE
proxy_buffering off;
proxy_request_buffering off;
# Extend timeouts for long connections
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
keepalive_requests 100000;
keepalive_timeout 5m;
http2_max_concurrent_streams 512;
# Prevent nginx from trying other upstreams
proxy_next_upstream off;
Also, when I use proxy_pass http://127.0.0.1:9200; I get only Client sent an HTTP request to an HTTPS server. in the browser. It should be https ?
Metadata
Metadata
Assignees
Labels
No labels