Created
June 28, 2013 19:57
-
-
Save edipofederle/5887598 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; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| passenger_root /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.5; | |
| passenger_ruby /usr/local/bin/ruby; | |
| server_names_hash_bucket_size 64; | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| server { | |
| listen 80; | |
| server_name tougg.com.br ; | |
| root /var/www/tougg_site/current/public; # <--- be sure to point to 'public'! | |
| passenger_enabled on; | |
| access_log on; | |
| error_log on; | |
| rails_env production; | |
| } | |
| server { | |
| listen 80; | |
| server_name blog.tougg.com.br ; | |
| root /var/www/ordens/current/public; # <--- be sure to point to 'public'! | |
| passenger_enabled on; | |
| access_log on; | |
| error_log on; | |
| rails_env production; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment