--- /dev/null
+<VirtualHost *:80>
+ ServerAdmin webmaster@localhost
+ DocumentRoot /var/www
+
+ <Directory />
+ AllowOverride None
+ </Directory>
+
+ RewriteEngine On
+ RewriteCond %{HTTPS} off
+ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ LogLevel warn
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+ </VirtualHost>
debian/apache-sites-available/openstack-dashboard /etc/apache2/sites-available
debian/apache-sites-available/openstack-dashboard-ssl /etc/apache2/sites-available
+debian/apache-sites-available/openstack-dashboard-ssl-redirect /etc/apache2/sites-available
set -e
if [ -x "`which invoke-rc.d 2>/dev/null`" -a -x "/etc/init.d/apache2" ] ; then
- invoke-rc.d --quiet apache2 reload
+ invoke-rc.d --quiet apache2 reload || true
fi
#DEBHELPER#
\ No newline at end of file