简体   繁体   English

YAWS面向Tomcat

[英]YAWS fronting Tomcat

目前是否有任何简单的方法可以在Apache Tomcat Servlet容器前面设置YAWS Web服务器,类似于流行的Apache httpd + Tomcat设置?

I do not believe there is an AJP connector for YAWS, but you should be able to front Tomcat with YAWS via HTTP. 我认为YAWS没有AJP连接器,但是您应该能够通过HTTP在Tomcat中使用YAWS。 YAWS is relatively easy to setup as a reverse proxy. YAWS相对容易设置为反向代理。 See the man page here for details (see revproxy ): 有关详细信息,请参见此处的手册页(请参阅revproxy ):

http://yaws.hyber.org/yman.yaws?page=yaws.conf http://yaws.hyber.org/yman.yaws?page=yaws.conf

Note: This is not yet considered production quality so you will want to do plenty of testing to ensure this satisfies your production requirements. 注意:这尚未考虑到生产质量,因此您将需要进行大量测试以确保满足您的生产要求。

I do not know what your use case is, but you may find Nginx is a worthwhile alternative to Apache as a load-balanced, HTTP reverse proxy in front of Tomcat. 我不知道您的用例是什么,但是您可能会发现Nginx是Apache的替代物,它是Tomcat前面的负载平衡的HTTP反向代理。 There are a number of good tutorials for this on the web, or checkout the recent Linux Journal article (requires a subscription): 网上有很多不错的教程,或者查阅最近的Linux Journal文章(需要订阅):

http://www.linuxjournal.com/article/10108 http://www.linuxjournal.com/article/10108

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM