Skip to content

If simple use gitlab_external_url: "https" then don`t get SSL #248

Open
@patsevanton

Description

@patsevanton

Hello! Thanks for ansible-role-gitlab.
I try use it on ubuntu-2004-lts.

If i use HTTPS in vars:

  vars:
    gitlab_external_url: "https://gitlab.51.250.38.92.sslip.io"

I can error
image

Final gitlab nginx config without ssl:

cat /var/opt/gitlab/nginx/conf/gitlab-http.conf
server {
  listen *:80;
  server_name gitlab.51.250.38.92.sslip.io;
}

But if i run

sudo EXTERNAL_URL="https://gitlab.51.250.38.92.sslip.io" apt-get install gitlab-ce

I get letsencypt certificate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgitlabRelated to hifis.gitlab role

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions