blog / gadflysu

希望與熱烈的風
Talk is Cheap

Tag : cdn

使用 nginx 获取真实访客 IP

当网站使用诸如 Cloudflare 的反代时,服务器默认只会得到来自反代服务地址的访客请求。此时需要做点什么来获取真实访客 IP。 Read more