Created
September 22, 2011 05:09
-
-
Save strongwave/1234089 to your computer and use it in GitHub Desktop.
A typical /opt/nginx/conf/nginx.conf file
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; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
passenger_root /home/appuser/.rvm/gems/ruby-1.9.2-p290@rails3010/gems/passenger-3.0.9; | |
passenger_ruby /home/appuser/.rvm/wrappers/ruby-1.9.2-p290@rails3010/ruby; | |
include mime.types; | |
default_type application/octet-stream; | |
keepalive_timeout 65; | |
gzip on; | |
server { | |
listen 80; | |
server_name www.YOUR_DOMAIN_HERE.com; | |
root PATH_TO_YOUR_RAILS_APP_ROOT/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