summaryrefslogtreecommitdiff
path: root/files/vhosts.d/CentOS/0-default_ssl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/vhosts.d/CentOS/0-default_ssl.conf')
-rw-r--r--files/vhosts.d/CentOS/0-default_ssl.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/vhosts.d/CentOS/0-default_ssl.conf b/files/vhosts.d/CentOS/0-default_ssl.conf
index 9f8c4b6..d018bcc 100644
--- a/files/vhosts.d/CentOS/0-default_ssl.conf
+++ b/files/vhosts.d/CentOS/0-default_ssl.conf
@@ -8,6 +8,12 @@
Include include.d/ssl_defaults.inc
DocumentRoot /var/www/html
+ # Use separate log files for the SSL virtual host; note that LogLevel
+ # is not inherited from httpd.conf.
+ ErrorLog logs/ssl_error_log
+ TransferLog logs/ssl_access_log
+ LogLevel warn
+
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
</VirtualHost>