From e1b7639159456192dcc3bed79ec0b35b4dec62cd Mon Sep 17 00:00:00 2001 From: libsgh Date: Mon, 5 Feb 2024 14:06:09 +0800 Subject: [PATCH] [nginx 502] fix too big header exrror --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index c0f461d..aba6caf 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,6 +17,9 @@ else content_server=$content_server' location @app {\n' content_server=$content_server' include uwsgi_params;\n' content_server=$content_server' uwsgi_pass unix:///tmp/uwsgi.sock;\n' + content_server=$content_server' uwsgi_buffer_size 256k;\n' + content_server=$content_server' uwsgi_buffers 32 512k;\n' + content_server=$content_server' uwsgi_busy_buffers_size 512k;\n' content_server=$content_server' }\n' content_server=$content_server'}\n' # Save generated server /etc/nginx/conf.d/nginx.conf