Skip to content

Instantly share code, notes, and snippets.

@dinks
Created January 24, 2015 17:03
Show Gist options
  • Save dinks/fc65595ef3d7ec83e1af to your computer and use it in GitHub Desktop.
Save dinks/fc65595ef3d7ec83e1af to your computer and use it in GitHub Desktop.
Conf for Passenger
<VirtualHost *:80>
ServerName app
ServerAlias app.dev app.local
DocumentRoot /opt/app/public
PassengerRuby /home/user/ruby-wrapper.sh
PassengerMinInstances 1
PassengerMaxPoolSize 3
PassengerUser user
RailsBaseURI /
RailsEnv development
<Directory /opt/app/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
LogLevel info
ErrorLog /var/log/apache2/app-error.log
CustomLog /var/log/apache2/app-access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment