On 2024-07-03 15:33, Nils Bühner wrote:

Hope this helps to understand what is happening here.

I don't know, meanwhile I used nginx to manage https connections.

As I already wrote the startup.sh file is different from the startup.sh file inside the container.

The following part of the code is missing:

if [ "${HTTPS_ENABLED}" = "true" ]; then
  if [ ! -f "${HTTPS_KEYSTORE_FILE}" ]; then
echo "ERROR: HTTPS was enabled but keystore file was not mounted to container [${HTTPS_KEYSTORE_FILE}]"
    exit 1
  fi
echo "Installing [${CATALINA_HOME}/conf/server.xml] with HTTPS support using substituted environment variables" envsubst < "${CONFIG_DIR}"/server-https.xml > "${CATALINA_HOME}/conf/server.xml"
fi

Or it was. :-(

I checked again the running container and those lines now are there.
But I'm pretty sure that when I last checked, those lines were missing.
I remember that I diffed the github and the container startup.sh files because the output messages of docker run were missing the line:

Installing [${CATALINA_HOME}/conf/server.xml] with HTTPS support using substituted environment variables

I don't know what to say. I rebooted the server after I posted the message.

        maxx


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to