Hi Nils,

 Thanks. That works for http -> https. How about non-ww.domain.com to 
www.domain.com?


Pankaj


---- On Thu, 19 Oct 2017 08:55:22 -0700 Nils 
Kilden-Pedersen<[email protected]> wrote ---- 

Take a look at org.eclipse.jetty.server.handler.SecuredRedirectHandler
 ​



On Fri, Oct 13, 2017 at 4:14 PM, Pankaj K Garg <[email protected]> wrote:
Hi,

 I'm looking for a simple way of re-directing all HTTP traffic to HTTPS, and 
all non-www.domain.com to www.domain.com.


 From Googling around, it doesn't look like this is straightforward in Jetty 
like in Apache or ngnix.


 Please let me know if there's a simple way of doing this.


 Thanks.


Pankaj










_______________________________________________
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