Created
January 24, 2015 17:03
-
-
Save dinks/fc65595ef3d7ec83e1af to your computer and use it in GitHub Desktop.
Conf for Passenger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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