Skip to content

Instantly share code, notes, and snippets.

@lalala
Created April 19, 2011 05:17
Show Gist options
  • Save lalala/926852 to your computer and use it in GitHub Desktop.
Save lalala/926852 to your computer and use it in GitHub Desktop.
events {
worker_connections 1024;
}
http {
passenger_root /usr/local/rvm/gems/ruby-1.9.2-head@cochimetl/gems/passenger-3.0.7;
passenger_ruby /usr/local/rvm/wrappers/ruby-1.9.2-head@cochimetl/ruby;
#include mime.types;
#default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
#sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
#keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name beta.mrmask.se;
root /srv/www/rails/cochimetl/public;
passenger_enabled on;
#passenger_use_global_queue on;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment