File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ server {
1010
1111upstream app {
1212 server {{ .Env.UPSTREAM_SERVER }};
13- keepalive {{ .Env.KEEPALIVE_CONNECTIONS }};
14- keepalive_requests {{ .Env.KEEPALIVE_REQUESTS }};
15- keepalive_timeout {{ .Env.KEEPALIVE_TIMEOUT }}s;
13+ # Temporarily disable connection pooling to test performance
14+ # keepalive {{ .Env.KEEPALIVE_CONNECTIONS }};
15+ # keepalive_requests {{ .Env.KEEPALIVE_REQUESTS }};
16+ # keepalive_timeout {{ .Env.KEEPALIVE_TIMEOUT }}s;
1617}
1718
1819server {
Original file line number Diff line number Diff line change 11uwsgi_pass app;
22uwsgi_param HTTP_X_REQUEST_ID $request_id;
33uwsgi_param HTTP_HOST $host;
4- uwsgi_param CONNECTION ""; # Clear Connection header for keepalive
4+ # uwsgi_param CONNECTION ""; # Clear Connection header for keepalive (disabled)
55include uwsgi_params;
66uwsgi_read_timeout {{ .Env.WSGI_TIMEOUT }};
77uwsgi_send_timeout {{ .Env.WSGI_TIMEOUT }};
Original file line number Diff line number Diff line change 2929 keepalive_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
3030
3131 # Enable gzip compression for better performance
32- gzip on ;
32+ gzip off ;
3333 gzip_vary on;
3434 gzip_min_length 1024;
3535 gzip_comp_level 6;
You can’t perform that action at this time.
0 commit comments