From cb3657ac364ff6d43628ce056da339779884aa1f Mon Sep 17 00:00:00 2001 From: dallaslu Date: Fri, 5 Jun 2026 04:19:30 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20proxy=5Fpass/forwarded.con?= =?UTF-8?q?f?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy_pass/forwarded.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 proxy_pass/forwarded.conf diff --git a/proxy_pass/forwarded.conf b/proxy_pass/forwarded.conf new file mode 100644 index 0000000..2153609 --- /dev/null +++ b/proxy_pass/forwarded.conf @@ -0,0 +1,9 @@ +proxy_set_header Host $http_host; +proxy_set_header Scheme $scheme; +proxy_set_header X-Real-IP $remote_addr; +proxy_set_header X-Forwarded-Host $host; +proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header Destination $http_destination; +proxy_set_header X-Forwarded-Server $host; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-NginX-Proxy true; \ No newline at end of file