Merge "Add HTTPS for docs-draft.openstack.org"
This commit is contained in:
commit
399a552f79
@ -190,10 +190,17 @@ class openstack_project::static (
|
|||||||
# Docs-draft
|
# Docs-draft
|
||||||
|
|
||||||
::httpd::vhost { 'docs-draft.openstack.org':
|
::httpd::vhost { 'docs-draft.openstack.org':
|
||||||
port => 80,
|
port => 443, # Is required despite not being used.
|
||||||
priority => '50',
|
docroot => '/srv/static/docs-draft',
|
||||||
docroot => '/srv/static/docs-draft',
|
priority => '50',
|
||||||
require => File['/srv/static/docs-draft'],
|
ssl => true,
|
||||||
|
template => 'openstack_project/static-http-and-https.vhost.erb',
|
||||||
|
vhost_name => 'docs-draft.openstack.org',
|
||||||
|
require => [
|
||||||
|
File['/srv/static/docs-draft'],
|
||||||
|
File[$cert_file],
|
||||||
|
File[$key_file],
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/srv/static/docs-draft':
|
file { '/srv/static/docs-draft':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user