blob: 80c7b29b2863750a764ae3573f3c5141e9152817 (
plain)
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
27
28
|
# configure apache and passenger to serve the webapp
class site_webapp::apache {
$web_api = hiera('api')
$api_domain = $web_api['domain']
$api_port = $web_api['port']
$web_domain = hiera('domain')
$domain_name = $web_domain['name']
$webapp = hiera('webapp')
$webapp_domain = $webapp['domain']
include site_apache::common
include apache::module::headers
include apache::module::alias
include apache::module::expires
include apache::module::removeip
include site_webapp::common_vhost
class { 'passenger': use_munin => false }
apache::vhost::file {
'api':
content => template('site_apache/vhosts.d/api.conf.erb');
}
}
|