-
-
Save tors/756826 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
| server { | |
| listen 80; | |
| server_name example.com; | |
| root /var/www/example.com/public; | |
| #rails_env development; | |
| passenger_enabled on; | |
| charset utf-8; | |
| } |
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
| user nginx nginx; | |
| worker_processes 5; | |
| error_log logs/error.log; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| # Passenger | |
| passenger_root /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.0; | |
| passenger_ruby /usr/local/bin/ruby; | |
| passenger_default_user nginx; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| # Include virtual host configurations | |
| include virtual_hosts/*.conf; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment