Skip to content

Instantly share code, notes, and snippets.

@bvogel
Created June 24, 2015 11:12
Show Gist options
  • Select an option

  • Save bvogel/670de57dbcd4c44349cb to your computer and use it in GitHub Desktop.

Select an option

Save bvogel/670de57dbcd4c44349cb to your computer and use it in GitHub Desktop.
apache2 site conf for buddy
<VirtualHost *:80>
Servername buddy.buddyandselly.com
DocumentRoot "/home/rails-deploy/buddy/current/public/"
<Directory /home/rails-deploy/buddy/current/public>
AllowOverride all
Options -MultiViews
Order allow,deny
Allow from all
</Directory>
CustomLog /var/log/apache2/buddy-access_log combined
ErrorLog /var/log/apache2/buddy-error_log
</VirtualHost>
<VirtualHost *:443>
ServerName buddy.buddyandselly.com
DocumentRoot "/home/rails-deploy/buddy/current/public/"
<Directory /home/rails-deploy/buddy/current/public>
AllowOverride all
Options -MultiViews
Order allow,deny
Allow from all
</Directory>
PassengerMinInstances 3
PassengerPoolIdleTime 600
CustomLog /var/log/apache2/buddy-access_log combined
ErrorLog /var/log/apache2/buddy-error_log
SSLEngine On
SSLCertificateKeyFile /etc/ssl/private/buddyandselly_com.key
SSLCertificateFile /etc/ssl/private/buddyandselly_com.crt
SSLCertificateChainFile /etc/ssl/private/buddyandselly_com.ca
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment