Create a gist now

Instantly share code, notes, and snippets.

the passenger file
user _www;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/;
events {
worker_connections 1024;
http {
passenger_root /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7;
passenger_ruby /usr/bin/ruby1.8;
include mime.types;
default_type application/octet-stream;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 8080;
server_name localhost;
root /home/chris/PageLander/public; # <--- be sure to point to 'public'!
passenger_enabled on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment