Skip to content

Docs unclear #548

@JappeHallunken

Description

@JappeHallunken

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions