Created
February 10, 2014 13:18
-
-
Save davidhq/8915760 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
worker_processes 1; | |
error_log /var/log/nginx/error.log debug; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include /opt/nginx/conf/mime.types; | |
default_type application/octet-stream; | |
passenger_root /usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.35; | |
passenger_ruby /usr/local/rvm/wrappers/ruby-2.0.0-p247/ruby; | |
passenger_log_level 3; | |
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 /var/log/nginx/access.log main; | |
sendfile on; | |
#tcp_nopush on; | |
keepalive_timeout 65; | |
gzip on; | |
include sites/*; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment