title: Docker as a Proxy server for a web service
body: <p>My app integrates with a web service that supports a proxy server. So I need to have integration tests that prove that works.</p>
  
  <p>So I wanted to use Docker to create a local proxy server that I can run real integration tests to verify that my web service can be called through the proxy interface without errors.</p>
  
  <p>So I tried <a href="https://github.com/jwilder/nginx-proxy" rel="noreferrer">https://github.com/jwilder/nginx-proxy</a> </p>
  
  <p>I started up the container with: </p>
  
  <pre><code>docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
  </code></pre>
  
  <p>When I use it i get a 503 error <code>503 Service Temporarily Unavailable</code></p>
  
  <p>Am I misunderstanding what this proxy does? </p>