Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
:
Snorby
>
Snorby
> README.passenger-example
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File README.passenger-example of Package Snorby (Revision 31)
Currently displaying revision
31
,
show latest
cd /srv/www/Snorby # for apache2 module RAILS_ENV=production bundle exec passenger-install-apache2-module # for nginx RAILS_ENV=production bundle exec passenger-install-nginx-module # configuration for apache2 # /etc/apache2/conf.d/passenger.conf LoadModule passenger_module /srv/www/Snorby/vendor/cache/ruby/1.9.1/gems/passenger-3.0.19/ext/apache2/mod_passenger.so PassengerRoot /srv/www/Snorby/vendor/cache/ruby/1.9.1/gems/passenger-3.0.19 PassengerRuby /usr/bin/ruby1.9 PassengerDefaultUser wwwrun # /etc/apache2/vhosts.d/snorby.conf <VirtualHost *:80> ServerName www.yourhost.com # !!! Be sure to point DocumentRoot to 'public'! DocumentRoot /srv/www/Snorby/public PassengerMinInstances 2 PassengerPreStart http://www.yourhost.com:80 <Directory /srv/www/Snorby/public> RailsEnv production # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews Allow from all </Directory> </VirtualHost>