diff --git a/infra/docker/nginx.conf b/infra/docker/nginx.conf index cfaf3afaf..ea1c9587c 100644 --- a/infra/docker/nginx.conf +++ b/infra/docker/nginx.conf @@ -10,6 +10,8 @@ server { gzip_min_length 1024; gzip_types text/plain text/css text/xml text/javascript application/javascript application/json application/xml+rss; + client_max_body_size 800m; + # SPA routing - all routes to index.html location / { try_files $uri $uri/ /index.html; @@ -22,6 +24,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_request_buffering off; } # Cache static assets