Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
profile :rails, "/home/deploy/%s/current" load_balancer :nginx do uid "www-data" gid "www-data" base_path "/etc/nginx" mime_types "/etc/nginx/mime.types" pid_file "/var/run/nginx.pid" error_log "/var/log/nginx/error_log" access_log "/var/log/nginx/%s.access_log" end upstream :mongrel do uid "deploy" gid "deploy" end site :spork, :on => :nginx do hostnames "www.sporkhax.com" aliases "sporkhax.com", "hahaha.zomg.com" profile :rails mongrels 8010..8013 end
This paste will be private.
From the Design Piracy series on my blog: