There is an example of exactly what you are after here:
https://github.com/undertow-io/undertow/blob/master/examples/src/main/jav...
It has a HTTP2/SPDY server listening on
https://localhost:8443.
It also defines a reverse proxy that connects to this that is listening
on
https://localhost:8444.
The reverse proxy is SPDY/HTTP2 aware, so server push will still work
through the reverse proxy (as of yesterday).
Stuart
Davide Ungari wrote:
Hi,
I would like to understand how to make a REST API with RestEasy and
Undertow be served with HTTP/2 or SPDY. How have I to configure Undertow?
I have a frontend application running on Undertow calling this REST API
on another Undertow instance. How can I configure both to use HTTP/2?
Does all this "optimization" make sense?
Thanks everybody
--
Davide
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev