Fix https redirects when using a reverse proxy
Fix https redirects when using a reverse proxy

When using an SSL terminated reverse proxy, users are redirected to a http:// URL during login. Jetty intercepts the request and does not respect the X-Forwarded-Proto header sent by the proxy.

Add the workaround provided in https://github.com/rundeck/rundeck/issues/732
Support added in Rundeck in this commit: https://github.com/rundeck/rundeck/commit/f1cb0548fa3450f141247f68571dd8d70343c392


Former-commit-id: 83b3d8e47a681d090e6b39a78d2f9ffae0756e22
scottymarshall/rundeck,nilroy/rundeck,scottymarshall/rundeck,scottymarshall/rundeck,Webtrends/rundeck,nilroy/rundeck,nilroy/rundeck,Webtrends/rundeck,Webtrends/rundeck