From 2e6b77349fa651b6e3521c71e8cff37008354196 Mon Sep 17 00:00:00 2001 From: Ratchet7x5 <36789694+Ratchet7x5@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:36:58 +1300 Subject: [PATCH] attempt #4: fix buffer size --- web/nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/nginx.conf b/web/nginx.conf index cbb0bc2..6306386 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -22,6 +22,9 @@ http { } location = /api { + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; proxy_set_header Host $http_host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -31,7 +34,7 @@ http { proxy_http_version 1.1; proxy_redirect off; proxy_pass https://auis-api.fly.dev; - } + } # Additional configuration can be added here if needed }