File: cluster.conf.epp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Listen <%= $ip %>:<%= $port %>
<VirtualHost <%= $ip %>:<%= $port %>>
  <Location />
    Order deny,allow
    Deny from all
    Allow from <%= $allowed_network %>
  </Location>

  KeepAliveTimeout <%= $keep_alive_timeout %>
  MaxKeepAliveRequests <%= $max_keep_alive_requests %>
  EnableMCPMReceive <%= apache::bool2httpd($enable_mcpm_receive) %>

  ManagerBalancerName <%= $balancer_name %>
  ServerAdvertise <%= apache::bool2httpd($server_advertise) %>
  <%- if $server_advertise == true and $advertise_frequency != undef { -%>
  AdvertiseFrequency <%= $advertise_frequency %>
  <%- } -%>

  <Location /mod_cluster_manager>
    SetHandler mod_cluster-manager
    Order deny,allow
    Deny from all
    Allow from <%= $manager_allowed_network %>
  </Location>

</VirtualHost>