support self-signed certificate

change SSL_CERT_FILE to SSL_CERT_DIR and support config daemon user, ie: gitlab_pages['user'] = "root"

these change will fix gitlab-pages ssl issue in gitlab/gitlab-ce ie:

pages_access: x509: failed to load system roots and no roots provided"
level=error msg="failed to read SSL_CERT_FILE" error="open /opt/gitlab/embedded/ssl/certs/cacert.pem: no such file or directory"

and with gitlab_pages['user'] = "root" there no need for gitlab_pages['inplace_chroot'] = false

Edited by qxo

Merge request reports

Loading