mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
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:
commit
eff3895214
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user