X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2b691c12fc0600fdff96ea3a22c55db3d372f9a8..5919a0168e927c655ce23acc885413864f0ebfcf:/cookbooks/wordpress/templates/default/apache.erb diff --git a/cookbooks/wordpress/templates/default/apache.erb b/cookbooks/wordpress/templates/default/apache.erb index aea4eb690..3d0b97ade 100644 --- a/cookbooks/wordpress/templates/default/apache.erb +++ b/cookbooks/wordpress/templates/default/apache.erb @@ -27,6 +27,10 @@ # Enable SSL # SSLEngine on +<% if @ssl_certificate -%> + SSLCertificateFile /etc/ssl/certs/<%= @ssl_certificate %>.pem + SSLCertificateKeyFile /etc/ssl/private/<%= @ssl_certificate %>.key +<% end -%> CustomLog /var/log/apache2/<%= @name %>-access.log combined ErrorLog /var/log/apache2/<%= @name %>-error.log