From 880fb61c66f28770f67ffca9847a8a3f7c14bc4a Mon Sep 17 00:00:00 2001 From: fawney19 Date: Fri, 19 Dec 2025 02:17:07 +0800 Subject: [PATCH] fix: disable gzip compression in nginx proxy configuration - Add gzip off directive to prevent nginx from compressing proxied responses - Ensures stream integrity for chunked transfer encoding - Applies to both production and local Dockerfiles --- Dockerfile.base | 1 + Dockerfile.base.local | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile.base b/Dockerfile.base index 1a4bce5..948bedc 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -70,6 +70,7 @@ RUN printf '%s\n' \ ' proxy_cache off;' \ ' proxy_request_buffering off;' \ ' chunked_transfer_encoding on;' \ +' gzip off;' \ ' proxy_connect_timeout 600s;' \ ' proxy_send_timeout 600s;' \ ' proxy_read_timeout 600s;' \ diff --git a/Dockerfile.base.local b/Dockerfile.base.local index 3b46f6e..a512f9f 100644 --- a/Dockerfile.base.local +++ b/Dockerfile.base.local @@ -74,6 +74,7 @@ RUN printf '%s\n' \ ' proxy_cache off;' \ ' proxy_request_buffering off;' \ ' chunked_transfer_encoding on;' \ +' gzip off;' \ ' proxy_connect_timeout 600s;' \ ' proxy_send_timeout 600s;' \ ' proxy_read_timeout 600s;' \