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 all 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
5 changes: 4 additions & 1 deletion manifests/resource/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +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_read_timeout*] - Override the default proxy read timeout value of 90 seconds
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the message is now changed to "Override the default proxy read timeout value of 90 seconds"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the message is now changed to "Override the default proxy send 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.
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