title: Kubernetes Nginx upload large file 400 No 'Access-Control-Allow-Origin'
body: <p>When I keep default of <code>proxy_body_size: 8m</code> of nginx. I can't upload the file size > 8M. Then I configure nginx annotation like this:</p>
  
  <pre><code>apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    name: "ingress-name"
    annotations:
  
      nginx.ingress.kubernetes.io/proxy-body-size: 100m
  </code></pre>
  
  <p>So, I can upload the files > 8M now. But, I have tried to upload CSV file about 50m, I got an error </p>
  
  <blockquote>
    <p>Failed to load <a href="https://api.domain.xxx/import" rel="nofollow noreferrer">https://api.domain.xxx/import</a>: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="https://web.domain.xxx/" rel="nofollow noreferrer">https://web.domain.xxx/</a>' is therefore not allowed access. The response had HTTP status code 400.</p>
  </blockquote>
  
  <p>Anyone can help me to upload the large maximum file is 100m?</p>
  
  <p>Thanks</p>