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 {
10
10
11
11
upstream app {
12
12
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;
16
17
}
17
18
18
19
server {
Original file line number Diff line number Diff line change 1
1
uwsgi_pass app;
2
2
uwsgi_param HTTP_X_REQUEST_ID $request_id;
3
3
uwsgi_param HTTP_HOST $host;
4
- uwsgi_param CONNECTION ""; # Clear Connection header for keepalive
4
+ # uwsgi_param CONNECTION ""; # Clear Connection header for keepalive (disabled)
5
5
include uwsgi_params;
6
6
uwsgi_read_timeout {{ .Env.WSGI_TIMEOUT }};
7
7
uwsgi_send_timeout {{ .Env.WSGI_TIMEOUT }};
Original file line number Diff line number Diff line change 29
29
keepalive_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
30
30
31
31
# Enable gzip compression for better performance
32
- gzip on ;
32
+ gzip off ;
33
33
gzip_vary on;
34
34
gzip_min_length 1024;
35
35
gzip_comp_level 6;
You can’t perform that action at this time.
0 commit comments