Unicorn documentation http://unicorn.bogomips.org/Unicorn/Configurator.html tells about keepalive: "Since Unicorn is only designed for applications that send the response body quickly without keepalive, sockets will always be flushed on close to prevent delays." Does it mean the nginx upstream connection overheaded?by mikhailov - How to...
Nginx 1.1.4+ can serve upstream connection with HTTP1.1 keepalive directive (it's not the same as keepalived clients' connections). So the Unicorn configuration can look like as below: upstream unicorn { server unix:/tmp/unicorn.todo.sock fail_timeout=0; keepalive 4; } server { try_files $uri/index.html $uri @unicorn; keepalive_timeout 70; lby mikhailov - How to...
![]() |
![]() |
![]() |
![]() |
|