Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have a juno install and configured it via Updating openstack-dashboard.conf located in /etc/apache2/conf.d

Mind the DOTS and comments in UPPER CASE


<VirtualHost *:443>
    ServerName THIS IS YOUR SERVER NAME
    ServerAdmin  THIS IS YOUR SERVER ADMIN 

    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl.crt/openstack-dashboard-server.crt
    SSLCertificateKeyFile /etc/apache2/ssl.key/openstack-dashboard-server.key
    SSLCipherSuite ALL:!SSLv2:!ADH:!EXP:!MD5:!LOW:!RC4:!aNULL:+HIGH:+MEDIUM
    SSLProtocol all -sslv2 -sslv3
    SSLHonorCipherOrder on

    ErrorLog /var/log/apache2/openstack-dashboard-error_log
    TransferLog /var/log/apache2/openstack-dashboard-access_log

    WSGIScriptAlias . .
    WSGIDaemonProcess . . . . 
    SetEnv APACHE_RUN_USER  . . . . .
    SetEnv APACHE_RUN_GROUP . . . . . .

    DocumentRoot /srv/www/openstack-dashboard/
    Alias /media /srv/www/openstack-dashboard/media
    Alias /static /srv/www/openstack-dashboard/static

    .
.
.
.


.
.
.
.

</VirtualHost>


RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule / https://%{HTTP_HOST}%{REQUEST_URI} [L,R]