|
From: emmexx <em...@ti...> - 2024-07-03 14:39:02
|
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
|