Investigating replacing reverse proxy servlet
jesse-gallagher opened this issue · 2 comments
Undertow looks like a likely candidate: https://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#introduction
It could make sense to run it in Domino's HTTP stack directly, since it will presumably open a separate port anyway, and will be more directly controllable without worrying about another distinct process. However, it could lead to trouble with Servlet versions: even if Undertow would be running its own HTTP endpoint, the javax.servlet
v2.4/2.5 classes will almost definitely have to be exposed to its ClassLoader.
It may make sense to implement this as an HttpService
on Domino - it could check for started apps on Liberty servers, identify their context paths, and proxy incoming requests.
This is covered by #30