From 141bb873d92e66a527add0663a066c2d446da291 Mon Sep 17 00:00:00 2001 From: Sheng Date: Mon, 20 Nov 2017 18:05:36 +0800 Subject: [PATCH] Modified README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0b87b7a..ac8b275 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ location / { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Real-PORT $remote_port; } ```