<% if use_ssl then port = 443 else port = 80 end %> > <% if use_ssl then %> SSLEngine on SSLCertificateFile /etc/ssl/apache/<%= name %>.pem SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem <% end %> ServerName <%= name %> # Serve static content directly DocumentRoot /dev/null WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi #footer Allow from all