ServerName admin.rainbowbank.com
ServerAlias www.admin.rainbowbank.com
Redirect permanent / https://admin.rainbowbank.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/admin.rainbowbank.com
DirectoryIndex index.html
Options -Indexes +FollowSymlinks
AllowOverride all
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/accessAdmin.log combined
ServerName admin.rainbowbank.com
ServerAlias www.admin.rainbowbank.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/admin.rainbowbank.com
SSLEngine on
SSLCertificateFile /etc/apache2/admin.rainbowbank.crt
SSLCertificateKeyFile /etc/apache2/admin.rainbowbank.key
DirectoryIndex index.html
Options -Indexes +FollowSymlinks
AllowOverride all
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/accessAdmin.log combined