Created
February 26, 2012 19:21
-
-
Save malev/1918436 to your computer and use it in GitHub Desktop.
nginx.conf 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 malev rvm; | |
worker_processes 2; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
passenger_root /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11; | |
passenger_ruby /usr/local/rvm/wrappers/ruby-1.9.2-p290/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; | |
error_log logs/error.log; | |
sendfile on; | |
keepalive_timeout 65; | |
include /opt/nginx/conf/conf.d/*.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment