From c4eb5e61ff2a98f7881dace808270af4407aa8cd Mon Sep 17 00:00:00 2001 From: nspmx Date: Mon, 8 Apr 2024 17:36:10 -0400 Subject: [PATCH] #update nginx config --- helm/values-api.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helm/values-api.yaml b/helm/values-api.yaml index a064c05..a9435f7 100644 --- a/helm/values-api.yaml +++ b/helm/values-api.yaml @@ -76,7 +76,6 @@ ingress: nginx.org/proxy-busy-buffers-size: "64k" nginx.org/server-snippets: | # Disable buffering - proxy_buffering off; chunked_transfer_encoding on; nginx.org/location-snippets: | add_header Access-Control-Allow-Origin *; @@ -90,6 +89,11 @@ ingress: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; + + client_max_body_size 0; + proxy_http_version 1.1; + proxy_buffering off; + proxy_request_buffering off; hosts: - host: chat-api-dev.datausa.io paths: