Skip to content

Conversation

@kanwarujjaval
Copy link
Member

Changed as these perform better on modern kernels for higher throughput and concurrency

use epoll;
multi_accept on; # Added multi_accept with accept_mutex off and epoll
accept_mutex off;

Added brotli

Sets the HTTP protocol version for proxying. By default, version 1.0 is used. Version 1.1 is recommended for use with keepalive

Enables keep-alive by default, can consider making it upgrade?

       keepalive connections
        proxy_http_version 1.1;
        proxy_set_header Connection "";

Post request buffers

       client_body_buffer_size 16k;
       client_body_timeout 30s;
       client_max_body_size 100m;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants