1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-14 15:53:28 +01:00

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
This commit is contained in:
Ed Summers 2022-08-08 16:18:01 -04:00 committed by GitHub
parent 12a9e32129
commit 8e06c2f351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ server {
resolver 127.0.0.1; resolver 127.0.0.1;
uwsgi_pass pywb:8081; uwsgi_pass pywb:8081;
uwsgi_buffer_size 8k;
include uwsgi_params; include uwsgi_params;