1
|
# Default Virtual Host configuration.
|
2
|
|
3
|
<IfVersion < 2.3 >
|
4
|
NameVirtualHost *:80
|
5
|
NameVirtualHost *:443
|
6
|
</IfVersion>
|
7
|
|
8
|
<VirtualHost _default_:80>
|
9
|
DocumentRoot "/opt/redmine/apache2/htdocs"
|
10
|
<Directory "/opt/redmine/apache2/htdocs">
|
11
|
Options Indexes FollowSymLinks
|
12
|
AllowOverride All
|
13
|
<IfVersion < 2.3 >
|
14
|
Order allow,deny
|
15
|
Allow from all
|
16
|
</IfVersion>
|
17
|
<IfVersion >= 2.3 >
|
18
|
Require all granted
|
19
|
</IfVersion>
|
20
|
</Directory>
|
21
|
|
22
|
# BitNami applications installed with a prefix URL (default)
|
23
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf"
|
24
|
Include "conf/php-fpm-apache.conf"
|
25
|
</VirtualHost>
|
26
|
|
27
|
# Default SSL Virtual Host configuration.
|
28
|
|
29
|
<IfModule !ssl_module>
|
30
|
LoadModule ssl_module modules/mod_ssl.so
|
31
|
</IfModule>
|
32
|
|
33
|
Listen 443
|
34
|
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
|
35
|
SSLPassPhraseDialog builtin
|
36
|
SSLSessionCache "shmcb:/opt/redmine/apache2/logs/ssl_scache(512000)"
|
37
|
SSLSessionCacheTimeout 300
|
38
|
|
39
|
<VirtualHost _default_:443>
|
40
|
DocumentRoot "/opt/redmine/apache2/htdocs"
|
41
|
SSLEngine on
|
42
|
SSLCertificateFile "/opt/redmine/apache2/conf/server.crt"
|
43
|
SSLCertificateKeyFile "/opt/redmine/apache2/conf/server.key"
|
44
|
<Directory "/opt/redmine/apache2/htdocs">
|
45
|
Options Indexes FollowSymLinks
|
46
|
AllowOverride All
|
47
|
<IfVersion < 2.3 >
|
48
|
Order allow,deny
|
49
|
Allow from all
|
50
|
</IfVersion>
|
51
|
<IfVersion >= 2.3 >
|
52
|
Require all granted
|
53
|
</IfVersion>
|
54
|
</Directory>
|
55
|
|
56
|
# BitNami applications installed with a prefix URL (default)
|
57
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf"
|
58
|
Include "conf/php-fpm-apache.conf"
|
59
|
</VirtualHost>
|
60
|
|
61
|
# BitNami applications that uses virtual host configuration
|
62
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-vhosts.conf"
|