John, You could look into accomplishing this with the MovedContextHandler <https://www.eclipse.org/jetty/documentation/current/moved-context-handler.html> (Javadoc here <https://www.eclipse.org/jetty/javadoc/9.4.7.v20170914/org/eclipse/jetty/server/handler/MovedContextHandler.html>) or making use of the ProxyServlet <https://www.eclipse.org/jetty/documentation/current/proxy-servlet.html>.
Best, Chris On Wed, Nov 8, 2017 at 5:21 AM, John English <[email protected]> wrote: > I have an HTTPS server (Jetty 9.4) which is setup like this (in myapp.xml > in my webapps directory): > > <Set name="virtualHosts"> > <Array type="java.lang.String"> > <Item>foo.bar.net</Item> > <Item>192.168.1.200</Item> > <Item>127.0.0.1</Item> > </Array> > </Set> > > I would now like to use a separate domain name on the same system for a > non-Jetty HTTPS server, so I'd like to forward requests for that domain > name from Jetty to the other server. (Plan B would be to use a non-standard > port for the new server, but I prefer not to.) > > Can anyone advise me what I'd need to do to accomplish this? > > Thanks, > -- > John English > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
