X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/8aea98b6b35e7d8a6d0974b19c28a1399ad49a1e..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