diff --git a/examples/vhost_ssl.erb b/examples/vhost_ssl.erb index 05689bb..24fe9e6 100644 --- a/examples/vhost_ssl.erb +++ b/examples/vhost_ssl.erb @@ -6,23 +6,14 @@ DirectoryIndex <%= @ae_dir_index %> ErrorLog /var/log/httpd/<%= @ae_server_name %>_ssl_error_log TransferLog /var/log/httpd/<%= @ae_server_name%>_ssl_transfer_log - <% if @ae_use_access_log == true -%> CustomLog /var/log/httpd/<%= @ae_server_name%>_ssl_access_log common - <% end -%> LogLevel <%= @ae_vhost_loglevel %> SSLEngine on SSLProtocol <%= @ae_ssl_protocols%> SSLCipherSuite "<%= @ae_ssl_ciphersuite%>" - -<% if @ae_use_certbot == true -%> - SSLCertificateFile /etc/letsencrypt/live/<%= @ae_server_name %>/cert.pem - SSLCertificateKeyFile /etc/letsencrypt/live/<%= @ae_server_name %>/privkey.pem - SSLCertificateChainFile /etc/letsencrypt/live/<%= @ae_server_name %>/fullchain.pem -<% else -%> SSLCertificateFile <%= @ae_tls_cert_path %>/<%= @ae_ssl_vhost_cert %> SSLCertificateKeyFile <%= @ae_tls_key_path %>/<%= @ae_ssl_vhost_key %> SSLCertificateChainFile <%= @ae_tls_cert_path %>/<%= @ae_ssl_vhost_chain %> -<% end -%> SSLOptions +StdEnvVars @@ -45,5 +36,4 @@ CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" -