How to configure GWAN as a reverse proxy?

↘锁芯ラ 提交于 2020-01-02 07:01:18

问题


I saw some performance of GWAN and interested in testing it as a reverse proxy of static content in front of Apache with APC for optimizing PHP opcode, to run a Wordpress multisite. I can get GWAN up and running but I have no idea how to configure it for reverse proxy, as there seems to be almost no information on it. Anyone use GWAN as a reverse proxy?


回答1:


It's still a not documented feature ... maybe in a next release ? @gil ?




回答2:


Right now there's no easy way for you to do that. That will change with the next release.

We first hardcoded the reverse-proxy feature in G-WAN along with the load-balancer. Then, as we needed to personalize reverse-proxying, we implemented it as a protocol handler script.

Protocol handler scripts allow users to implement any protocol (like SMTP, LDAP, etc.) without haveing to deal with multi-threading nor socket events.

But finally, to reduce complexity for users, we might revert to the hard-coded implementation with connection handlers scripts to let people personalize the reverse proxy.

It's maturing under different use cases, hence the delay in publicly releasing this feature and a few others.

Rushing to implement features and interfaces is not always optimal, if the goal is to stay flexible and easy to use.



来源:https://stackoverflow.com/questions/18437081/how-to-configure-gwan-as-a-reverse-proxy

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