Skip to content

Instantly share code, notes, and snippets.

@jadeforrest
jadeforrest / rails_pet_clinic
Created September 22, 2011 20:20 — forked from tomkersten/bash.bashrc
Site setup
# File: /etc/nginx/sites-enabled/rails_pet_clinic
# easiest if you put it in /etc/nginx and symlink to sites-enabled/rails_pet_clinic
# Mostly yanked from:
# http://bit.ly/nginx-unicorn-setup
# and http://tomkersten.com/articles/nginx-unicorn-rvm-server-setup/
upstream rails-pet-clinic {
# fail_timeout=0 means we always retry an upstream even if it failed
# to return a good HTTP response (in case the Unicorn master nukes a
require 'builder'
class Sitemap
STATIC_URLS = ['/home/about',
'/home/help',
'/home/contact_us',
'/home/terms']
class << self