Having issue with HTTPS reverse proxy looping on Host

Hi @ganncamp and thanks for trying to help me moving forward with the latest version of sonarqube.

I still have some fear doing this upgrade, of course I can backup the data, but will the sonar-scanner command require some change as well? or an upgrade?

Also, I have configured sonarqube within a docker container, this is how the Dockerfile looks like:

FROM sonarqube:6.3.1
ENV SONAR_LDAP_PLUGIN_VERSION=2.1.0.507
COPY assets /assets
# Add Hook
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

This is entrypoint.sh

#!/bin/bash

set -e

# call your procedure/other scripts here below
echo "Starting $ENV_NAME"
mkdir -p $SONARQUBE_HOME/conf

cp -rv /assets/$ENV_NAME/* $SONARQUBE_HOME/conf

# install secret key
if [ ! -f "~/.sonar/sonar-secret.txt" ]; then
  mkdir -p ~/.sonar
  ls -altr $SONARQUBE_HOME/conf
  mv $SONARQUBE_HOME/conf/sonar-secret.txt ~/.sonar/sonar-secret.txt
fi
chmod 444 ~/.sonar/sonar-secret.txt

# install ldap
if [ ! -f "extensions/plugins/sonar-ldap-plugin-$SONAR_LDAP_PLUGIN_VERSION.jar" ]; then
	echo "Downloading LDAP"
	wget "http://repo1.maven.org/maven2/org/sonarsource/ldap/sonar-ldap-plugin/$SONAR_LDAP_PLUGIN_VERSION/sonar-ldap-plugin-$SONAR_LDAP_PLUGIN_VERSION.jar" \
		-P extensions/plugins
fi


# purge configuration
rm -rf /assets 

# start
if [ "${1:0:1}" != '-' ]; then
  exec "$@"
fi

exec java -jar lib/sonar-application-$SONAR_VERSION.jar \
  -Dsonar.log.console=true \
  -Dsonar.jdbc.username="$SONARQUBE_JDBC_USERNAME" \
  -Dsonar.jdbc.password="$SONARQUBE_JDBC_PASSWORD" \
  -Dsonar.jdbc.url="$SONARQUBE_JDBC_URL" \
  -Dsonar.web.javaAdditionalOpts="$SONARQUBE_WEB_JVM_OPTS -Djava.security.egd=file:/dev/./urandom" \
  "$@"

As you can see, I use an LDAP plugin, will this need to be upgraded as well?

I already have backups of my data, can you please confirm once more that replacing in Dockerfile in order will normally work?

- FROM sonarqube:6.3.1
+ FROM sonarqube:6.7.7
- FROM sonarqube:6.7.7
+ FROM sonarqube:7.9.2

And then 8.1 when available.

Thanks a lot for supporting and I wish you all good holiday!