mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-02 04:53:38 +00:00
entrypoint: Remove references to ZULIP_AUTO_GENERATE_CERTS.
This commit is contained in:
@@ -173,13 +173,13 @@ configureCerts() {
|
|||||||
if [ ! -e "$DATA_DIR/certs/zulip.key" ]; then
|
if [ ! -e "$DATA_DIR/certs/zulip.key" ]; then
|
||||||
echo "SSL private key zulip.key is not present in $DATA_DIR."
|
echo "SSL private key zulip.key is not present in $DATA_DIR."
|
||||||
echo "Certificates configuration failed."
|
echo "Certificates configuration failed."
|
||||||
echo "Consider setting ZULIP_AUTO_GENERATE_CERTS=True in the environment to auto-generate"
|
echo "Consider setting SSL_CERTIFICATE_GENERATION in the environment to auto-generate"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! -e "$DATA_DIR/certs/zulip.combined-chain.crt" ]; then
|
if [ ! -e "$DATA_DIR/certs/zulip.combined-chain.crt" ]; then
|
||||||
echo "SSL public key zulip.combined-chain.crt is not present in $DATA_DIR."
|
echo "SSL public key zulip.combined-chain.crt is not present in $DATA_DIR."
|
||||||
echo "Certificates configuration failed."
|
echo "Certificates configuration failed."
|
||||||
echo "Consider setting ZULIP_AUTO_GENERATE_CERTS=True in the environment to auto-generate"
|
echo "Consider setting SSL_CERTIFICATE_GENERATION in the environment to auto-generate"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
ln -sfT "$DATA_DIR/certs/zulip.key" /etc/ssl/private/zulip.key
|
ln -sfT "$DATA_DIR/certs/zulip.key" /etc/ssl/private/zulip.key
|
||||||
|
|||||||
Reference in New Issue
Block a user