Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy send timeout for the nginx server configuration. #1181

Merged
merged 3 commits into from
Feb 26, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions manifests/resource/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming this should read: "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.
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down