From da16787fb2dcce9bab4528380160ae7d149ac687 Mon Sep 17 00:00:00 2001 From: pratik Date: Wed, 22 Oct 2025 13:36:02 -0500 Subject: [PATCH] more changes --- deploy-chunked-simple.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy-chunked-simple.sh b/deploy-chunked-simple.sh index 94a00f2..1dccaeb 100644 --- a/deploy-chunked-simple.sh +++ b/deploy-chunked-simple.sh @@ -212,7 +212,9 @@ upload_file_in_chunks() { fi # Send metadata as query params (for Java proxy to capture) and only file as multipart + # Add explicit headers that nginx might require RESPONSE=$(curl -s -X POST "$API_BASE/upload/chunk?uploadSessionId=$SESSION_ID&fileType=$file_type&chunkIndex=$chunk_index&totalChunks=$total_chunks&fileName=$file_name" \ + -H "X-Forwarded-For: 127.0.0.1" \ -F "chunk=@$chunk_file") if [ "$DEBUG_MODE" = "true" ]; then