在 OpenResty Edge 中精准还原真实的客户端 IP 地址
Echo Nginx Module
Yichun Zhang , 26 Aug 2011 (created 21 Jun 2011)This module wraps lots of Nginx internal APIs for streaming input and output, parallel/sequential subrequests, timers and sleeping, as well as various meta data accessing.
Basically it provides various utilities that help testing and debugging of other modules by trivially emulating different kinds of faked subrequest locations.
Documentation: http://wiki.nginx.org/HttpEchoModule
Project page: https://github.com/agentzh/echo-nginx-module