From 8e06c2f351be01322bab35dddaa66311311da72e Mon Sep 17 00:00:00 2001 From: Ed Summers Date: Mon, 8 Aug 2022 16:18:01 -0400 Subject: [PATCH] Increase uwsgi_buffer_size for nginx config (#716) I was playing back a YouTube video and noticed that the playback worked fine with using uwsgi/pywb directly but failed when using nginx. I think a very long HTTP Link header was causing nginx to hang up. I increased the uwsgi_buffer_size to 8k and the problem went away. Maybe this will save someone else some time if it is increased? https://nginx.org/en/docs/http/ngx_http_uwsgi_module.html#uwsgi_buffer_size --- sample-deploy/pywb-nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/sample-deploy/pywb-nginx.conf b/sample-deploy/pywb-nginx.conf index 23c55337..afd3a32f 100644 --- a/sample-deploy/pywb-nginx.conf +++ b/sample-deploy/pywb-nginx.conf @@ -26,6 +26,7 @@ server { resolver 127.0.0.1; uwsgi_pass pywb:8081; + uwsgi_buffer_size 8k; include uwsgi_params;