mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Deploy gitlab-pages only if it's enabled
This commit is contained in:
parent
d50a125fd9
commit
54a094ed98
@ -1295,7 +1295,7 @@ install_configuration_templates() {
|
||||
|
||||
|
||||
## ${GITLAB_PAGES_NGINX_CONFIG}
|
||||
if [[ ${GITLAB_PAGES_HTTPS} == true ]]; then
|
||||
if [[ ${GITLAB_PAGES_ENABLED} == true ]]; then
|
||||
if [[ -f ${SSL_PAGES_CERT_PATH} && -f ${SSL_PAGES_KEY_PATH} ]]; then
|
||||
install_template root: nginx/gitlab-pages-ssl ${GITLAB_PAGES_NGINX_CONFIG}
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user