title: Nginx giving 400 Response on CSS files when disabling cache
body: <p>I tried to implement the following directive in nginx to avoid caching of css files:</p>
  
  <pre><code>upstream turntown_stream {
      ip_hash;
      server turntown_host:9443;
  }
  
  location ~* \.(?:css)$ {
      root /data/nginx/html;
      expires 0;
  }
  
  location / {
      root /data/nginx/html;
      index index.html index.htm;
  }
  
  location /turntown/ {
  proxy_cache_bypass $http_upgrade;
  proxy_pass https://turntown_stream/turntown/;
  # Web sockets
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection $connection_upgrade;
  }
  </code></pre>
  
  <p>However, whenever I try to apply the above directive, any css files that arrive on the web browser after a https://{DOMAIN}.com/turntown addrress is input, arrive with a 404 response.</p>
  
  <p>Can somebody please tell me what I'm doing wrong.</p>