diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2015-01-21 16:06:26 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2015-01-21 16:06:26 +0100 |
commit | 2f49a4a328f6002f554e3bd347a3fcd450232a1e (patch) | |
tree | fe84ceec3102adc691d7664cb77084db24dd2218 /ansible/roles | |
parent | 7aac72b0c0877f58d7a9f53a2e5349c229281e73 (diff) |
ansible: Add new config options for nginx.
Change-Id: I2f61e877c84614b0710da6e2d822ee6384f00acf
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/configure-nginx/templates/backend-nginx.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/configure-nginx/templates/backend-nginx.conf b/ansible/roles/configure-nginx/templates/backend-nginx.conf index 111cd33..3abecb6 100644 --- a/ansible/roles/configure-nginx/templates/backend-nginx.conf +++ b/ansible/roles/configure-nginx/templates/backend-nginx.conf @@ -38,6 +38,7 @@ server { } client_max_body_size 165m; + expires 30m; # Proxy cache, disabled for now. # proxy_cache BACKEND; @@ -46,7 +47,7 @@ server { # proxy_cache_lock_timeout 2s; # proxy_cache_valid 3h; - proxy_buffers 32 4k; + proxy_buffers 32 8k; proxy_buffer_size 8k; proxy_busy_buffers_size 64k; proxy_pass_header Server; |