Skip to content

Commit

Permalink
#update nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
nspmx committed Apr 8, 2024
1 parent 648fb01 commit c4eb5e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm/values-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 *;
Expand All @@ -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:
Expand Down

0 comments on commit c4eb5e6

Please sign in to comment.