anchor.diff:      root html;
      }
   
  +  }
  +  server {
  +   listen       80;
  +   server_name  resque.<%= @url %>;
  +   rewrite      ^(.*) https://resque.<%= @url %>$1 permanent;
  +  }
  +  server {
  +
  +   listen       443;
  +   server_name  resque.<%= @url %>;
  +
  +   ssl on;
  +   ssl_certificate      /usr/local/nginx/conf/diaspora.crt;
  +   ssl_certificate_key  /usr/local/nginx/conf/diaspora.key;
  +
  +   location / {
  +    proxy_pass http://resque_web;
  +   }
     }
   
     server {
  
positive.code:     server <%="localhost:#{port}"%>;
    <% end %>
    }
  
    server {
     listen       843;
  
negative.code:     if (!-f $request_filename) {
       proxy_pass http://thin_cluster;
       break;
      }
     }
  
     error_page 500 502 503 504 /50x.html;
     location = /50x.html {
      root html;
     }
  
  }
  
  