Need help on nginx settings with self-signed certs


#1

Hi,

I have installed gitlab-ce-11.4.0-ce.0.el7.x86_64 on a RHEL 7.5 and configured the external_url as https://gitlab.example.com:7000.
Nginx is enabled by setting nginx[‘enable’] = true and nginx[‘redirect_http_to_https’] = true, server certs are stored as /etc/gitlab/ssl/gitlab.example.com.crt and /etc/gitlab/ssl/gitlab.example.com.key, and cert settings are
nginx[‘ssl_certificate’] = “/etc/gitlab/ssl/gitlab.example.com.crt”
nginx[‘ssl_certificate_key’] = “/etc/gitlab/ssl/gitlab.example.com.key”

I can now reach gitlab via https://gitlab.example.com:7000 without any problem, but I want to reach gitlab without typing https nor the port number (7000), I have been tweaking with the nginx settings and still cant get there. Can someone give me any hints on this?

Thank you.