Puppet Class: striker::apache
- Defined in:
- modules/striker/manifests/apache.pp
Overview
SPDX-License-Identifier: Apache-2.0
Class: striker::apache
Serve static assets for Striker and route other requests to the Django backend.
Parameters:
- server_name
-
vhost name
- docroot
-
Document root for vhost
- servers
-
List of URLs of backend servers to forward non-static asset requests to
- port
-
Port for apache to listen on. Default 80.
17 18 19 20 21 22 23 24 25 26 27 |
# File 'modules/striker/manifests/apache.pp', line 17
class striker::apache(
$server_name,
$docroot,
$servers,
$port = 80,
){
httpd::site { 'striker':
content => template('striker/apache.conf.erb'),
}
}
|