-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapache-docker.conf
More file actions
39 lines (33 loc) · 928 Bytes
/
apache-docker.conf
File metadata and controls
39 lines (33 loc) · 928 Bytes
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
<Directory />
Options -Indexes -FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory ${APACHE_DOCUMENT_ROOT}>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Globals
DocumentRoot ${APACHE_DOCUMENT_ROOT}
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<VirtualHost *:80>
</VirtualHost>
<VirtualHost _default_:443>
SSLEngine on
SSLCertificateFile ${APACHE_SSL_CERT_FILE}
SSLCertificateKeyFile ${APACHE_SSL_KEY_FILE}
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
# keepalive
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>