Can standalone Jetty be used as a reverse proxy (without Apache mod-proxy)

I have an application that includes a Jetty web server, which we distribute to several users for deployment on their servers. Based on some of the new requirements, we need to enable reverse proxy capabilities. Jetty's documentation talks about using Apache as a reverse proxy in front of Jetty. Although this works, it would be much easier to use Jetty and not port Apache. Is there a way to configure standalone Jetty as a reverse proxy?

+6
source share
1 answer

Of course, you should be able to use a ProxyServlet, which is completely asynchronous and can be configured if necessary:

http://www.eclipse.org/jetty/documentation/current/proxy-servlet.html

+2
source

All Articles