Skip to content

Instantly share code, notes, and snippets.

@jschoolcraft
Created June 2, 2009 23:49
Show Gist options
  • Save jschoolcraft/122688 to your computer and use it in GitHub Desktop.
Save jschoolcraft/122688 to your computer and use it in GitHub Desktop.
<VirtualHost 89.36.164.163:80>
ServerName git.aissac.ro
Include /etc/apache2/gzip.conf
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
</VirtualHost>
<VirtualHost 89.36.164.163:443>
ServerName git.aissac.ro
DocumentRoot /home/apps/redmine/public
Include /etc/apache2/gzip.conf
SSLEngine on
SSLOptions +StrictRequire
SSLCertificateFile /etc/ssl/certs/git.aissac.ro.crt
SSLCertificateKeyFile /etc/ssl/private/git.aissac.ro.key
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment