ServerName www.mydrupal.co DocumentRoot /var/www/drupal # Redirect http to https RedirectMatch 301 (.*) https://10.2.36.203$1 # Server Info ServerName www.mydrupal.co ServerAlias mydrupal.co ServerAdmin webmaster@localhost # Web root DocumentRoot /var/www/drupal # Log configuration ErrorLog ${APACHE_LOG_DIR}/drupal-error.log CustomLog ${APACHE_LOG_DIR}/drupal-access.log combined # Enable/Disable SSL for this virtual host. SSLEngine on # Self signed SSL Certificate file SSLCertificateFile /etc/apache2/ssl/drupalssl.crt SSLCertificateKeyFile /etc/apache2/ssl/drupalssl.key Options FollowSymLinks AllowOverride All Require all granted SSLOptions +StdEnvVars SSLOptions +StdEnvVars 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