forked from sciguy14/Remote-Wake-Sleep-On-LAN-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
000-default.conf
49 lines (37 loc) · 1.47 KB
/
000-default.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<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>