Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/stats_web.pp
Show All 34 Lines | ::apache::vhost {"${vhost_name}_ssl": | ||||
ssl_protocol => $vhost_ssl_protocol, | ssl_protocol => $vhost_ssl_protocol, | ||||
ssl_honorcipherorder => $vhost_ssl_honorcipherorder, | ssl_honorcipherorder => $vhost_ssl_honorcipherorder, | ||||
ssl_cipher => $vhost_ssl_cipher, | ssl_cipher => $vhost_ssl_cipher, | ||||
ssl_cert => $cert_paths['cert'], | ssl_cert => $cert_paths['cert'], | ||||
ssl_chain => $cert_paths['chain'], | ssl_chain => $cert_paths['chain'], | ||||
ssl_key => $cert_paths['privkey'], | ssl_key => $cert_paths['privkey'], | ||||
headers => [$vhost_hsts_header], | headers => [$vhost_hsts_header], | ||||
docroot => $vhost_docroot, | docroot => $vhost_docroot, | ||||
proxy_pass => { | |||||
path => '/', | |||||
url => 'http://munin.internal.softwareheritage.org/export/' | |||||
}, | |||||
require => [ | require => [ | ||||
Profile::Letsencrypt::Certificate[$ssl_cert_name], | Profile::Letsencrypt::Certificate[$ssl_cert_name], | ||||
File[$ssl_chain], | File[$ssl_chain], | ||||
File[$ssl_key], | File[$ssl_key], | ||||
], | ], | ||||
} | } | ||||
} | } |