50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
# TLS/SSL configuration, this is for the use of crypto.
|
|
ServerAdmin webmaster@localhost
|
|
|
|
SSLEngine On
|
|
SSLCertificateFile /etc/apache2/ssl/wol.crt
|
|
SSLCertificateKeyFile /etc/apache2/ssl/wol.key
|
|
|
|
DocumentRoot /var/www/html
|
|
<Directory /var/www/html/>
|
|
AllowOverride AuthConfig FileInfo
|
|
Order allow,deny
|
|
allow from all
|
|
Options -Indexes
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/ssl_error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel error
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
|
|
|
</VirtualHost>
|
|
</IfModule>
|
|
|
|
<VirtualHost *:80>
|
|
# Non-TLS/SSL configuration.
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /var/www/html
|
|
<Directory /var/www/html/>
|
|
AllowOverride AuthConfig FileInfo
|
|
Order allow,deny
|
|
allow from all
|
|
Options -Indexes
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel error
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
</VirtualHost>
|