From d08af6bdfe9fff26e59be51636f134d334734fae Mon Sep 17 00:00:00 2001 From: Nitish-SH Date: Fri, 23 Feb 2018 06:00:42 +0100 Subject: [PATCH 1/3] adding proxy_send_timeout nginx server configuration. --- manifests/resource/server.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/resource/server.pp b/manifests/resource/server.pp index 264c598f6..2be18fce5 100644 --- a/manifests/resource/server.pp +++ b/manifests/resource/server.pp @@ -25,6 +25,7 @@ # [*proxy*] - Proxy server(s) for the root location to connect to. Accepts a single value, can be used in # conjunction with nginx::resource::upstream # [*proxy_read_timeout*] - Override the default the proxy read timeout value of 90 seconds +# [*proxy_send_timeout*] - Override the default the proxy read timeout value of 90 seconds # [*proxy_redirect*] - Override the default proxy_redirect value of off. # [*proxy_buffering*] - If defined, sets the proxy_buffering to the passed value. # [*resolver*] - Array: Configures name servers used to resolve names of upstream servers into addresses. @@ -181,6 +182,7 @@ Optional[String] $proxy = undef, Optional[String]$proxy_redirect = undef, String $proxy_read_timeout = $::nginx::proxy_read_timeout, + String $proxy_send_timeout = $::nginx::proxy_send_timeout, $proxy_connect_timeout = $::nginx::proxy_connect_timeout, Array[String] $proxy_set_header = $::nginx::proxy_set_header, Array[String] $proxy_hide_header = $::nginx::proxy_hide_header, @@ -348,6 +350,7 @@ proxy => $proxy, proxy_redirect => $proxy_redirect, proxy_read_timeout => $proxy_read_timeout, + proxy_send_timeout => $proxy_send_timeout, proxy_connect_timeout => $proxy_connect_timeout, proxy_cache => $proxy_cache, proxy_cache_key => $proxy_cache_key, From 64b01f5d1b12ede2ecb570a702bd70e084dbd19c Mon Sep 17 00:00:00 2001 From: Nitish-SH Date: Fri, 23 Feb 2018 06:03:08 +0100 Subject: [PATCH 2/3] indentation for comments --- manifests/resource/server.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/resource/server.pp b/manifests/resource/server.pp index 2be18fce5..1d4b5be43 100644 --- a/manifests/resource/server.pp +++ b/manifests/resource/server.pp @@ -25,7 +25,7 @@ # [*proxy*] - Proxy server(s) for the root location to connect to. Accepts a single value, can be used in # conjunction with nginx::resource::upstream # [*proxy_read_timeout*] - Override the default the proxy read timeout value of 90 seconds -# [*proxy_send_timeout*] - Override the default the proxy read timeout value of 90 seconds +# [*proxy_send_timeout*] - Override the default the proxy read timeout value of 90 seconds # [*proxy_redirect*] - Override the default proxy_redirect value of off. # [*proxy_buffering*] - If defined, sets the proxy_buffering to the passed value. # [*resolver*] - Array: Configures name servers used to resolve names of upstream servers into addresses. From 84b9e8331a92e997f7b102fbd60ee73fbe7d0b3d Mon Sep 17 00:00:00 2001 From: Nitish-SH Date: Mon, 26 Feb 2018 06:46:35 +0100 Subject: [PATCH 3/3] fixing a typo in the comments. --- manifests/resource/server.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/resource/server.pp b/manifests/resource/server.pp index 1d4b5be43..032d5e5ea 100644 --- a/manifests/resource/server.pp +++ b/manifests/resource/server.pp @@ -24,8 +24,8 @@ # [*autoindex*] - Set it on 'on' or 'off 'to activate/deactivate autoindex directory listing. Undef by default. # [*proxy*] - Proxy server(s) for the root location to connect to. Accepts a single value, can be used in # conjunction with nginx::resource::upstream -# [*proxy_read_timeout*] - Override the default the proxy read timeout value of 90 seconds -# [*proxy_send_timeout*] - Override the default the proxy read timeout value of 90 seconds +# [*proxy_read_timeout*] - Override the default proxy read timeout value of 90 seconds +# [*proxy_send_timeout*] - Override the default proxy send timeout value of 90 seconds # [*proxy_redirect*] - Override the default proxy_redirect value of off. # [*proxy_buffering*] - If defined, sets the proxy_buffering to the passed value. # [*resolver*] - Array: Configures name servers used to resolve names of upstream servers into addresses.