commit 141bb873d92e66a527add0663a066c2d446da291
parent 62bd3175b69d349b5a0c5e87ee613153ba13a4c2
Author: Sheng <webmaster0115@gmail.com>
Date: Mon, 20 Nov 2017 18:05:36 +0800
Modified README.md
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;
}
```