-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document common reverse proxy usages #1776
Comments
I’m quite a bit our of my league here on this topic (and it seems there isn't that much knowledge within Vaadin), and I would very much appreciate if you could provide some quick draft content what you could expect to find the docs 🙏 |
I would expect to find example configuration for the shown combination from above :) There are so many questions over the years on the old forum, discord, stack overflow and GitHub dating back to even Vaadin 7 on "how to configure a Reverse Proxy to handle Vaadin application" that it is a must have in my opinion to have some basic examples in the docs that are tested and official supported by Vaadin. I have personally managed to get most of those configuration working over the years but after the current change in 23.2 most of my configuration are broken and I currently don't know of a proper way to get them back working - that's why I created this issue to hopefully get an "official" way "provided" by Vaadin which doesn't rely on "bugs". I have selected apache and nginx because they are the primary reverse proxies used in corporate environments (without container) and ingress because it's the default option once you go full kubernetes (at least there should be some knowledge somewhere in Vaadin with the k8s blue green kit). |
Once the suggested change by Mikhail is released, I'm happy to share some of our (then working again) configuration - so that you have examples and we a long-term working solution again ;) |
Another example shared by @a-schild on discord tonight https://techtuxwords.blogspot.com/2022/10/running-vaadin-tomcat-cluster-behind.html |
Apache Httpd 2.4+ Reverse Proxy Example for AJP + WS based on 23.3.rc.1+ Application is running with
The same configuration can be enhanced with multiple services to load balance based on
|
Sharing also here a repo with a couple of reverse-proxy test configurations https://github.com/mcollovati/vaadin-reverse-proxy-tests WARNING: may not be completely up-to-date |
Latest config idea by @mcollovati
|
* docs: add reverse proxy setup documentation Part of #1776 * Initial Edits: Vale fixes, formatting, etc. * More Vale fixes. * More Vale fixes. * Another Vale fix. * Yet another Vale fix. * Again with the Vale fixes. * All hail Vale! * improve docs and fix configurations * add load balancer docs * add websocket introduction * fixes * apply review suggestions * Minor edits, Vale fixes, and formatting changes. --------- Co-authored-by: Russell J.T. Dyer <[email protected]> Co-authored-by: Russell JT Dyer <[email protected]>
Re-opened because we may need to add these in the future:
|
How about opening new tickets about those so that this ticket can still document the fact that many improvements have been made? |
Makes sense, created a new ticket #4137. |
The documentation should contain information about the common combination of Vaadin (Flow) applications behind reverse proxies:
Vaadin configuration:
/app
and reverse proxy forwarding anything from/app
to the Vaadin app/
and reverse proxy forwarding anything from/
to the Vaadin app/app
and reverse proxy forwarding anything from/
to the Vaadin appReverse Proxies to be covered:
Related to:
The text was updated successfully, but these errors were encountered: