Spring Boot Vaadin @Push behind Apache2 reverse proxy

Hi all,

I’m still new and experimenting with Vaadin Flow 24. One thing I was very impressed of was that just adding “@Push” enabled me to send server notifications to the client. This was very easy to implement and worked like a charm.

But now I’m trying to “deploy” my experimental app. I’ve put a root context, I’ve checked the network traffic is completely using the root context, I’ve build the jar, I’ve put it on some server and I created an Apache2 ProxyPass.

All of this worked out of the box, and I can reach my app from the internet through the Apache.

But …

Push doesn’t work any more.

Is there some documentation how to get Push running behind such a Proxy? In the web, I found and tried some Vaadin 7 related stuff which I wasn’t able to get to work, which is probably massively outdated.

Any hints how I can get Push running behind this Apache?

Thank you all for any hints!

You can find here different configurations depending on your needs Document common reverse proxy usages · Issue #1776 · vaadin/docs · GitHub

Well that was easy and should definitely become part of the docu!!

Thank you, it worked immediately after adding that magic lines of configuration to the Apache2. Unfortunately, I don’t know how to set up ajp protocol in the Vaadin App, but that’s a total different topic, and it works as well with http protocol in the first block of configuration.

Thank you very much, that was a great help to me.

Marcus.