mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
use https protocol in the wget request if https is enabled
This commit is contained in:
parent
296a6ad027
commit
96d975d9f4
@ -357,8 +357,11 @@ EOF
|
||||
crontab -u git /tmp/cron.git && rm -rf /tmp/cron.git
|
||||
|
||||
# kickstart the rails application
|
||||
wget "http://localhost" -O /dev/null
|
||||
|
||||
if [ "${GITLAB_HTTPS}" == "true" ]; then
|
||||
wget --no-check-certificate "https://${GITLAB_HOST}" -O /dev/null
|
||||
else
|
||||
wget "http://${GITLAB_HOST}" -O /dev/null
|
||||
fi
|
||||
|
||||
# watch the access logs
|
||||
tail -F /var/log/nginx/gitlab_access.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user