Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Fwd: using nginx or other Webserver in front of Jetty

Hi,

On Fri, Jun 19, 2015 at 4:00 AM, Sebastian Gutierrez <scgm11@xxxxxxxxx> wrote:
>
>
> Hi,
>
> is there any real advantage to use nginx in front of jetty or other webserver? Ive been using jetty for a long time, but always delivering static files (html,css,js,mp3, etc) with other webserver and proxying requests to servlets to jetty. But now that jetty support http2 isn't a good idea to serve everything servlets and static content through jetty? so I don't have to manage 2 different servers? is there any drawback?
>

You can certainly use Jetty alone, but to support HTTP/2 you need
HAProxy since Nginx or Apache don't support it yet.
See https://webtide.com/http2-with-haproxy-and-jetty/.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top