Reverse proxy capable pure python webserver?

拟墨画扇 提交于 2019-12-05 22:13:59
wr.

Have a look at Twisted, especially its ReverseProxyResource.

Twisted Web also provides various facilities for being set up behind a reverse-proxy, which is the suggested mechanism to integrate your Twisted application with an existing site.

http://pypi.python.org/pypi/proxylet/

From http://www.rfk.id.au/blog/entry/proxylet-lightweight-HTTP-reverse-proxy

proxylet is a lightweight reverse proxy for HTTP with nonblocking IO courtesy of eventlet.

Looks like source is available as well. I've never used it, as we use IHS for all our reverse proxy needs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!