-
-
Save craigmcnamara/1032077 to your computer and use it in GitHub Desktop.
the passenger file
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
user _www; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
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