We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 940dc4e + 8bd7138 commit 9190834Copy full SHA for 9190834
manifests/mod/proxy.pp
@@ -27,9 +27,10 @@
27
$apache_version = undef,
28
$package_name = undef,
29
$proxy_via = 'On',
30
- $proxy_timeout = '60',
+ $proxy_timeout = undef,
31
) {
32
include ::apache
33
+ $_proxy_timeout = $apache::timeout
34
$_apache_version = pick($apache_version, $apache::apache_version)
35
::apache::mod { 'proxy':
36
package => $package_name,
templates/mod/proxy.conf.erb
@@ -25,5 +25,7 @@
25
# Set to one of: Off | On | Full | Block
26
ProxyVia <%= @proxy_via %>
+ <%- if @proxy_timeout -%>
ProxyTimeout <%= @proxy_timeout %>
+ <%- end -%>
</IfModule>
0 commit comments