title: No images through nginx-proxy
body: <p>I'm setting up a VPS via ansible to run a web app that's already in a docker container. That part is up and running. Moving on to the proxy part, I added <code>jwilder/nginx-proxy</code> and <code>jrcs/letsencrypt-nginx-proxy-companion</code> to my playbook. In general that is working. The SSL cert were created, and I can access the web app through the proxy. Unfortunately the images don't seem to be getting through. I think I need to tweak the "Connection" to be "keep-alive". Though I've yet to figure out how to get that set. Any suggestions? Thanks in advance.</p>
  
  <p>nginx-proxy env vars:</p>
  
  <pre><code>  VIRTUAL_HOST: "{{ webserver_hostname }}"
    VIRTUAL_PORT: 9000
    LETSENCRYPT_HOST: "{{ webserver_hostname }}"
    LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
    SSL_POLICY: Mozilla-Modern
  </code></pre>
  
  <p>docker images in use:</p>
  
  <ul>
  <li>jwilder/nginx-proxy </li>
  <li>jrcs/letsencrypt-nginx-proxy-companion </li>
  <li>custom docker with app.</li>
  </ul>
  
  <p>Note:</p>
  
  <ul>
  <li>I have removed the letsencrypt-nginx-proxy-companion and the image
  problem remains.</li>
  <li>I don't have problems with the images if I directly access the port on web app's docker.</li>
  </ul>
  
  <p>Browser responses:</p>
  
  <ul>
  <li>Safari: 
  
  <ul>
  <li>"Failed to load resource: The network connection was lost." </li>
  <li>Error: "The network connection was lost."</li>
  </ul></li>
  <li>Chrome:
  
  <ul>
  <li>Status is "(failed)".</li>
  <li>Checking the response header the status is 200.</li>
  <li>Under the timing, Connection Start is "Stalled".</li>
  </ul></li>
  <li>Firefox:
  
  <ul>
  <li>Status is 200, but Response payload is empty.</li>
  </ul></li>
  </ul>
  
  <p>Thanks again for taking a look.</p>