synnefo || ns || apt || mq || db || gunicorn || apache || webproject || astakos || cms || pithos || cyclades || kamaki || backends
The following apply to astakos, pithos, cyclades and cms nodes. Here we assume that these nodes have FQDM nodeX.example.com.
First install corresponding packet:
# apt-get install apache2
In /etc/apache2/sites-available/synnefo add:
<VirtualHost *:80>
  ServerName nodeX.example.com
  RewriteEngine On
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
In /etc/apache2/sites-available/synnefo-ssl add:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
  ServerName nodeX.example.com
  Alias /static "/usr/share/synnefo/static"
  AllowEncodedSlashes On
  RequestHeader set X-Forwarded-Protocol "https"
  <Proxy * >
    Order allow,deny
    Allow from all
  </Proxy>
  SetEnv                proxy-sendchunked
  SSLProxyEngine        off
  ProxyErrorOverride    off
  ProxyPass        /static !
  ProxyPass        / http://localhost:8080/ retry=0
  ProxyPassReverse / http://localhost:8080/
  SSLEngine on
  SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
  SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</VirtualHost>
</IfModule>
Now enable sites and modules by running:
# a2enmod ssl
# a2enmod rewrite
# a2dissite default
# a2ensite synnefo
# a2ensite synnefo-ssl
# a2enmod headers
# a2enmod proxy_http