Skip to content

Commit

Permalink
Fix https redirects when using a reverse proxy
Browse files Browse the repository at this point in the history
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 rundeck/rundeck#732
Support added in Rundeck in this commit: rundeck/rundeck@f1cb054


Former-commit-id: 0cf49b9
  • Loading branch information
Kevin Lamontagne committed Jan 21, 2015
1 parent 43af108 commit 489be84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/default/profile.erb
Expand Up @@ -31,7 +31,8 @@ export RDECK_JVM="-Djava.security.auth.login.config=<%=@rundeck[:configdir]%>/<%
-Drundeck.server.serverDir=<%=@rundeck[:basedir]%> \
-Drdeck.projects=<%=@rundeck[:datadir]%>/projects \
-Drdeck.runlogs=<%=@rundeck[:basedir]%>/logs \
-Drundeck.config.location=<%=@rundeck[:configdir]%>/rundeck-config.properties"
-Drundeck.config.location=<%=@rundeck[:configdir]%>/rundeck-config.properties \
-Drundeck.jetty.connector.forwarded=true"
#
# Set min/max heap size
#
Expand Down

0 comments on commit 489be84

Please sign in to comment.