Skip to content

Instantly share code, notes, and snippets.

@mariusv
Created July 16, 2010 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariusv/478231 to your computer and use it in GitHub Desktop.
Save mariusv/478231 to your computer and use it in GitHub Desktop.
user nginx nginx;
worker_processes 5;
error_log logs/error.log;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
# Passenger
passenger_root /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.11;
passenger_ruby /usr/local/bin/ruby;
passenger_default_user nginx;
sendfile on;
keepalive_timeout 65;
# Include virtual host configurations
include virtual_hosts/*.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment