|
# Default Virtual Host configuration.
|
|
|
|
<IfVersion < 2.3 >
|
|
NameVirtualHost *:80
|
|
NameVirtualHost *:443
|
|
</IfVersion>
|
|
|
|
<VirtualHost _default_:80>
|
|
DocumentRoot "/opt/redmine/apache2/htdocs"
|
|
<Directory "/opt/redmine/apache2/htdocs">
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
<IfVersion < 2.3 >
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
<IfVersion >= 2.3 >
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
# BitNami applications installed with a prefix URL (default)
|
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf"
|
|
Include "conf/php-fpm-apache.conf"
|
|
</VirtualHost>
|
|
|
|
# Default SSL Virtual Host configuration.
|
|
|
|
<IfModule !ssl_module>
|
|
LoadModule ssl_module modules/mod_ssl.so
|
|
</IfModule>
|
|
|
|
Listen 443
|
|
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
|
|
SSLPassPhraseDialog builtin
|
|
SSLSessionCache "shmcb:/opt/redmine/apache2/logs/ssl_scache(512000)"
|
|
SSLSessionCacheTimeout 300
|
|
|
|
<VirtualHost _default_:443>
|
|
DocumentRoot "/opt/redmine/apache2/htdocs"
|
|
SSLEngine on
|
|
SSLCertificateFile "/opt/redmine/apache2/conf/server.crt"
|
|
SSLCertificateKeyFile "/opt/redmine/apache2/conf/server.key"
|
|
<Directory "/opt/redmine/apache2/htdocs">
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
<IfVersion < 2.3 >
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
<IfVersion >= 2.3 >
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
# BitNami applications installed with a prefix URL (default)
|
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf"
|
|
Include "conf/php-fpm-apache.conf"
|
|
</VirtualHost>
|
|
|
|
# BitNami applications that uses virtual host configuration
|
|
Include "/opt/redmine/apache2/conf/bitnami/bitnami-apps-vhosts.conf"
|