Merge pull request #829 from SolidNerd/improve_error_message_of_ssl

Improve error when ssl key, ssl certificate or DH param were not found.
This commit is contained in:
Niclas Mietz 2016-08-06 00:01:11 +02:00 committed by GitHub
commit eff3895214

View File

@ -1165,7 +1165,7 @@ install_configuration_templates() {
if [[ -f ${SSL_CERTIFICATE_PATH} && -f ${SSL_KEY_PATH} && -f ${SSL_DHPARAM_PATH} ]]; then
install_template root: nginx/gitlab-ssl ${GITLAB_NGINX_CONFIG}
else
echo "SSL keys and certificates were not found."
echo "SSL Key, SSL Certificate and DHParam were not found."
echo "Assuming that the container is running behind a HTTPS enabled load balancer."
install_template root: nginx/gitlab ${GITLAB_NGINX_CONFIG}
fi