Reverse proxy capable pure python webserver?

2019-05-11 02:20发布

I am looking for a pure python based web server has the capability for reverse proxy as well?

2条回答
forever°为你锁心
2楼-- · 2019-05-11 03:02

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.

查看更多
Fickle 薄情
3楼-- · 2019-05-11 03:07

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.

查看更多
登录 后发表回答