From 242430b7b6647fa0235d434acc7a54cb26633a95 Mon Sep 17 00:00:00 2001 From: jianghao <332515344@qq.com> Date: Tue, 30 Dec 2025 14:19:22 +0800 Subject: [PATCH] Jenkins file edit --- nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index 4370d04..8d69723 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,7 +24,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Port $server_port; - proxy_set_header Authorization $authorization; + proxy_set_header Authorization $http_authorization; proxy_pass http://user-api/; } location /file/ { @@ -34,7 +34,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Port $server_port; - proxy_set_header Authorization $authorization; + proxy_set_header Authorization $http_authorization; proxy_pass http://file/; } location /story/ { @@ -44,7 +44,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Port $server_port; - proxy_set_header Authorization $authorization; + proxy_set_header Authorization $http_authorization; proxy_pass http://story/; }