Created
January 28, 2011 02:30
-
-
Save gaffneyc/799718 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
user gaffneyc gaffneyc; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
passenger_root /Users/gaffneyc/.rvm/gems/ruby-1.8.7-p330/gems/passenger-3.0.2; | |
passenger_ruby /Users/gaffneyc/.rvm/wrappers/ruby-1.8.7-p330/ruby; | |
rails_env development; | |
error_log /var/log/passenger-1-8-err.log error; | |
include mime.types; | |
default_type application/octet-stream; | |
gzip on; | |
sendfile on; | |
keepalive_timeout 0; | |
server { | |
listen 127.0.0.1:80; | |
server_name puppies.local; | |
root /Users/gaffneyc/dev/puppies/public; | |
passenger_enabled on; | |
} | |
server { | |
listen 127.0.0.1:80; | |
server_name timetracking.local; | |
location / { | |
proxy_pass http://unix:/tmp/timetracking.sock; | |
} | |
} | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> <string>org.passenger.1.8.7</string> | |
<key>Program</key> <string>/opt/nginx-1.8.7/sbin/nginx</string> | |
<key>KeepAlive</key> <false/> | |
<key>RunAtLoad</key> <true/> | |
<key>NetworkState</key> <true/> | |
<key>StandardErrorPath</key> <string>/var/log/system.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment