Permalink
Browse files

we dont use cruise anymore

  • Loading branch information...
1 parent 917b11e commit fdbf86d52622baf42349c9bb1434c9937662d088 @rsanheim rsanheim committed Oct 24, 2011
Showing with 0 additions and 35 deletions.
  1. +0 −35 conf/cruisecontrol
View
@@ -1,35 +0,0 @@
-upstream domain1 {
- server 127.0.0.1:3333;
-}
-
-server {
- listen 80;
-
- access_log /var/log/nginx/access.log;
- error_log /var/log/nginx/error.log;
-
- root /home/cruise/cruisecontrolrb/public/;
- index index.html;
-
- location / {
- #auth_basic "Cruise: Restricted";
- #auth_basic_user_file /etc/nginx/passwd;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header Host $http_host;
- proxy_redirect false;
-
- if (-f $request_filename/index.html) {
- rewrite (.*) $1/index.html break;
- }
-
- if (-f $request_filename.html) {
- rewrite (.*) $1.html break;
- }
-
- if (!-f $request_filename) {
- proxy_pass http://domain1;
- break;
- }
- }
-}

0 comments on commit fdbf86d

Please sign in to comment.