Skip to content

云函数能获取到客户端的 ip 吗? #285

Answered by maslow
yenche123 asked this question in Feedbacks
Discussion options

You must be logged in to vote
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yenche123
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by maslow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants