anchor.diff: -
   # from topfunky's peepserver plugin
   # http://topfunky.net/svn/plugins/peepserver
   upstream app_<%= application.gsub('.', '_') %> {
  
positive.code:     rewrite  ^(.*)$  /system/maintenance.html last;
      break;
    }
  
    # Uncomment to Redirect all subdomains back to root domain
    #if ($host !~ ^<%= application.gsub('.', '\.') %>$) {
    #  rewrite ^.+ http://<%= application %>$uri permanent;
    #  break;
    #}
  
    # Uncomment for FeedBurner redirects
    # if ($http_user_agent !~ FeedBurner) {
    #   rewrite ^/xml/rss/feed.xml$    http://feeds.feedburner.com/<%= application %> permanent;
    #   rewrite ^/xml/rss20/feed.xml$  http://feeds.feedburner.com/<%= application %> permanent;
    #   rewrite ^/xml/atom/feed.xml$   http://feeds.feedburner.com/<%= application %> permanent;
    #   rewrite ^/xml/atom10/feed.xml$ http://feeds.feedburner.com/<%= application %> permanent;
    #   break;
    # }
  
    location / {
      # Uncomment to allow server side includes
  
negative.code: 
    # sets the domain[s] that this vhost server requests for.
    # None means listen to all.
    server_name <%= domain %>;
  
    # doc root
    root <%= deploy_to %>/current/public;
  