diff options
author | mh <mh@immerda.ch> | 2011-03-18 10:23:04 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-03-18 10:23:35 +0100 |
commit | 5a93a0363e9f967550d4a4267113e2b0714c06c2 (patch) | |
tree | 0974f00d3a17f1ff82ab0db111254f66bb1c5304 /files | |
parent | 5d6a8d82224a63c61d61b3a71703b41809f235d3 (diff) |
we don't need these logfiles in the include
Diffstat (limited to 'files')
-rw-r--r-- | files/include.d/CentOS/ssl_defaults.inc | 12 | ||||
-rw-r--r-- | files/vhosts.d/CentOS/0-default_ssl.conf | 6 |
2 files changed, 6 insertions, 12 deletions
diff --git a/files/include.d/CentOS/ssl_defaults.inc b/files/include.d/CentOS/ssl_defaults.inc index c1ef0be..7735ebb 100644 --- a/files/include.d/CentOS/ssl_defaults.inc +++ b/files/include.d/CentOS/ssl_defaults.inc @@ -1,9 +1,3 @@ -# 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 - # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on @@ -137,11 +131,5 @@ SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 -# Per-Server Logging: -# The home of a custom SSL log file. Use this when you want a -# compact non-error SSL logfile on a virtual host basis. -CustomLog logs/ssl_request_log \ - "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" - # set STS Header Header add Strict-Transport-Security "max-age=15768000" 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> |