forked from sciguy14/Remote-Wake-Sleep-On-LAN-Server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapacheconfig
47 lines (35 loc) · 1.27 KB
/
apacheconfig
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
<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
<Directory /var/www/>
AllowOverride None
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>
<VirtualHost *:80>
# Non-TLS/SSL configuration. Remove if enforcing encryption.
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory /var/www/>
AllowOverride None
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>