From 2a37ea0f8c568b25ee2fbeb1b544fedfd5c78ae1 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Tue, 23 Sep 2025 00:03:06 +0800 Subject: [PATCH] FIX: Remove invalid nginx directive proxy_pass_request_args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove proxy_pass_request_args from both nginx configurations - Query parameters are passed by default with proxy_pass - Fixes nginx startup error: unknown directive "proxy_pass_request_args" - Eliminates unnecessary configuration complexity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docker/nginx-https.conf | 3 +-- docker/nginx.conf | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/nginx-https.conf b/docker/nginx-https.conf index 5f5a6b61..8ae42ae3 100644 --- a/docker/nginx-https.conf +++ b/docker/nginx-https.conf @@ -116,8 +116,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - # Important: Pass query parameters (contains JWT token) - proxy_pass_request_args on; + # Query parameters are passed by default with proxy_pass # WebSocket timeouts (longer for terminal sessions) proxy_read_timeout 86400s; # 24 hours diff --git a/docker/nginx.conf b/docker/nginx.conf index 81bf469b..0b452d04 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -102,8 +102,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - # Important: Pass query parameters (contains JWT token) - proxy_pass_request_args on; + # Query parameters are passed by default with proxy_pass # WebSocket timeouts (longer for terminal sessions) proxy_read_timeout 86400s; # 24 hours