From e8f018f2c683d7841855aae807145a5b6236d01a Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Wed, 29 Apr 2026 08:54:06 +0200 Subject: [PATCH] fix: increase client_max_body_size to 50M for ports 3007 + 8093 Port 3007 (admin-compliance) had no limit (nginx default 1M) causing 413 on SDK state saves. Port 8093 (SDK) had 10M, now 50M. Co-Authored-By: Claude Opus 4.6 (1M context) --- nginx/conf.d/default.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 64de86f..267b592 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -285,6 +285,8 @@ server { ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256; ssl_prefer_server_ciphers off; + client_max_body_size 50M; + # SDK API proxy (same origin) location /sdk/v1/ { set $upstream_sdk bp-compliance-ai-sdk:8090; @@ -533,7 +535,7 @@ server { ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256; ssl_prefer_server_ciphers off; - client_max_body_size 10M; + client_max_body_size 50M; location / { set $upstream_sdk bp-compliance-ai-sdk:8090;