From 53468523ffec54fd5e95e3b782a97dc994519f66 Mon Sep 17 00:00:00 2001 From: chicrobot Date: Wed, 21 Jan 2026 13:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20c1=5Fdocker=E8=BF=90?= =?UTF-8?q?=E8=A1=8Cnginx.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c1_docker运行nginx.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/c1_docker运行nginx.md b/c1_docker运行nginx.md index 402f3a3..83857fe 100644 --- a/c1_docker运行nginx.md +++ b/c1_docker运行nginx.md @@ -45,14 +45,5 @@ location /uri { ``` location /uri/ { proxy_pass http://127.0.0.1:port/; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; } ``` \ No newline at end of file