Report this

What is the reason for this report?

How to correctly set SSL on Gitlab with ubuntu 20.04?

Posted on November 10, 2021

Hello, This isn’t working for mi recently deploy GitLab from the marketplace. As far as I check, it seems that if I follow the tutorial the command is designed for Nginx on the system but apparently the deploy has an Nginx embedded inside GitLab at /opt/gitlab/sv/nginx.

I tried to use the --nginx-server-root and --nginx-ctl options in the certbot execution but doesn’t work.

Any suggestion?

Thanks in advance JP



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

I’ll recommend checking the official docs for the SSL settings from GitLab’s website:

https://docs.gitlab.com/omnibus/settings/ssl.html

Hope that this helps! Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.