diff options
author | Mike Crute <mike@crute.us> | 2019-12-30 22:16:25 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-12-30 22:16:25 +0000 |
commit | 637c1c1f23ed912f47a2aa16218e4cfac6bc9c0a (patch) | |
tree | fa1dbf4d470e2566e25df0595e598073ecb79edb /nginx-common/conf/nginx.conf | |
parent | d23d60d45953b54733f8655434bdec702cc3c98c (diff) | |
download | dockerfiles-637c1c1f23ed912f47a2aa16218e4cfac6bc9c0a.tar.bz2 dockerfiles-637c1c1f23ed912f47a2aa16218e4cfac6bc9c0a.tar.xz dockerfiles-637c1c1f23ed912f47a2aa16218e4cfac6bc9c0a.zip |
Tune some nginx settings
Diffstat (limited to 'nginx-common/conf/nginx.conf')
-rw-r--r-- | nginx-common/conf/nginx.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nginx-common/conf/nginx.conf b/nginx-common/conf/nginx.conf index 10b6e92..a9bb86c 100644 --- a/nginx-common/conf/nginx.conf +++ b/nginx-common/conf/nginx.conf | |||
@@ -22,9 +22,13 @@ http { | |||
22 | tcp_nopush on; | 22 | tcp_nopush on; |
23 | server_tokens off; | 23 | server_tokens off; |
24 | 24 | ||
25 | keepalive_timeout 65; | 25 | keepalive_timeout 128; |
26 | |||
27 | # Try to avoid buffering requests to disk | ||
28 | client_body_buffer_size 1024k; | ||
26 | 29 | ||
27 | gzip on; | 30 | gzip on; |
31 | gzip_proxied any; | ||
28 | gzip_disable "msie6"; | 32 | gzip_disable "msie6"; |
29 | 33 | ||
30 | ssl_session_cache shared:SSL:10m; | 34 | ssl_session_cache shared:SSL:10m; |