Created
June 13, 2015 03:04
-
-
Save liushooter/162f006dc9596dafd7a2 to your computer and use it in GitHub Desktop.
zqw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy_set_header X-Real-IP $remote_addr; | |
# 然后在Grape 里面用 headers['X-Real-Ip'] 就可以取到 remote ip 了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment