title: Can't get SSL site to load JS + CSS properly. Throwing 409 (conflict)
body: <p>I am using <code>nginx</code> with <code>codeigniter</code> to serve my site.
  When there is no proxy I am able to load ssl site properly.</p>
  
  <p>But when a computer behind a proxy tries to access it, there's a <code>409</code> conflict.</p>
  
  <p>It is able to load the non-ssl site properly behind the proxy.</p>
  
  <p>Here is the ssl code-block in the nginx conf:</p>
  
  <p><a href="http://pastie.org/9600466" rel="nofollow">Pastie Nginx Conf</a></p>
  
  <h2>What's weird is when I'm directly opening the css or js file (e.g. typing the css url in the browser), it will load it properly.</h2>
  
  <p>Here are the response + request headers of an asset that's returning <code>409</code> Conflict.</p>
  
  <p>Request Headers:</p>
  
  <pre><code>Accept:text/css,*/*;q=0.1
  Accept-Encoding:gzip,deflate
  Accept-Language:en-US,en;q=0.8
  Cache-Control:max-age=0
  Connection:keep-alive
  Cookie:ci_session=ca41f4c9930b678f07acb9a45c839b63
  Host:www.mywebsite.com
  If-Modified-Since:Wed, 24 Sep 2014 01:13:00 GMT
  If-None-Match:"54221a9c-1da51"
  Referer:https://www.mywebsite.com/
  User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)         Chrome/37.0.2062.120 Safari/537.36
  </code></pre>
  
  <p>Response Headers:</p>
  
  <pre><code>Cache-Control:no-cache
  Connection:close
  Content-Length:1256
  Content-Type:text/html; charset=utf-8
  Pragma:no-cache
  Proxy-Connection:close
  </code></pre>
  
  <hr>
  
  <p>When browsing in FF it throws this:</p>
  
  <pre><code>An error occurred during a connection to www.mywebsite.com. Certificate type not approved for application. (Error code: sec_error_inadequate_cert_type) 
  </code></pre>
  
  <p>Serving static assets did not work..</p>