>
>
> > 3- How to redirect http to https?
>
> https://www.eclipse.org/jetty/documentation/current/moved-
> context-handler.html


This can also be done with the SecuredRedirectHandler for all contexts and
webapps.
https://stackoverflow.com/questions/26123604/redirect-from-http-to-https-automatically-in-embedded-jetty/26125528#26125528

If you want it for just a specific webapp, look at the WEB-INF/web.xml
security constraints.
https://stackoverflow.com/questions/20611815/redirect-from-http-to-https-in-jetty

- Joakim
_______________________________________________
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

Reply via email to