anchor.diff:      proxy_read_timeout 120s;
   
       rewrite /_internal/archiver(/.*) $1 break;
  -    proxy_pass http://git_archive_daemon;
  +    proxy_pass http://archiver:5000$request_uri;
     }
   
     # Add caching headers for static assets
  
positive.code: upstream rails {
    server web:3000 fail_timeout=0;
  }
  
  # gitorious-http-backend is running on the host (because we want custom hooks
  # to be run *on the host*), so here we point Nginx to port 6000 of Docker host.
  upstream gitorious_http_backend {
    server <%= ENV['HOST_IP'] %>:6000 fail_timeout=0;
  }
  
  upstream git_archive_daemon {
    server archiver:5000 fail_timeout=0;
  }
  
  server {
    listen 80;
    root /usr/src/app/public;
  
negative.code:     proxy_buffering off;
      proxy_read_timeout 120s;
  
      # gitorious-http-backend is running on the host (because we want custom hooks
      # to be run *on the host*), so here we point Nginx to port 6000 of Docker host.
      proxy_pass http://<%= ENV['HOST_IP'] %>:6000$request_uri;
    }
  
    # Proxy internal requests for archives to git-archive-daemon
  