From 33514421bf144c0b0a0e2a8e3535a98837dad503 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 18 Feb 2021 18:50:29 +0100 Subject: [PATCH] Differentiate between buffers and proxy_buffers. --- defaults/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 3ee6011..18c2bf3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -53,9 +53,10 @@ nginx_set_original_uri: True nginx_proxy_buffering: "on" nginx_proxy_redirect: "off" nginx_x_forwarded_host: "$remote_addr" -nginx_proxy_buffer_size: '{{ nginx_default_max_buffers_size * 8 }}' +nginx_default_proxy_buffers_size: 8 +nginx_proxy_buffer_size: '{{ nginx_default_proxy_buffers_size }}k' nginx_proxy_buffers: '4 {{ nginx_proxy_buffer_size }}k' -nginx_proxy_busy_buffers_size: '{{ nginx_proxy_buffer_size * 2 }}' +nginx_proxy_busy_buffers_size: '{{ nginx_proxy_buffer_size * 2 }}k' nginx_proxy_connect_timeout: 30s nginx_proxy_read_timeout: 480s nginx_proxy_send_timeout: 120s