Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
patsevanton opened this issue Mar 16, 2022 · 0 comments
Open

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

patsevanton opened this issue Mar 16, 2022 · 0 comments
Labels
gitlab Related to hifis.gitlab role

Comments

@patsevanton
Copy link

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.

@Normo Normo self-assigned this Apr 7, 2022
@Normo Normo removed their assignment Dec 1, 2022
@Normo Normo transferred this issue from hifis-net/ansible-role-gitlab May 23, 2024
@Normo Normo added the gitlab Related to hifis.gitlab role label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gitlab Related to hifis.gitlab role
Projects
None yet
Development

No branches or pull requests

2 participants