44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerAdmin webmaster@localhost
|
|
ServerName 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
|
|
Options -Indexes
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/ssl_error.log
|
|
|
|
LogLevel error
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
|
|
|
</VirtualHost>
|
|
</IfModule>
|
|
|
|
<VirtualHost *:8080>
|
|
ServerAdmin webmaster@localhost
|
|
ServerName localhost
|
|
|
|
DocumentRoot /var/www/html
|
|
<Directory /var/www/html/>
|
|
AllowOverride AuthConfig FileInfo
|
|
Options -Indexes
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
LogLevel error
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
</VirtualHost>
|