I am unable to give External URL to my Gitlab server running on Ubuntu 16.04 everytime I try to give it a name and reconfigure server just stop working. plus I can not configure HTTPS for it. I can able to access the server with the IP but i want to give it a name. The same server can be access through a different name but when I try to change it from Gitlab.rb it does not run.
Hey,
can you show us your gitlab.rb file ?
And any errors while reconfiguring?
Eventuelly check gitlab-ctl tail for errors while running / startup an post this all so we can check this.
external_url ‘http://gitlab.xyz’
nginx[‘redirect_http_to_https’] = true
#web_server[‘external_users’] = [‘www-data’]
while reconfiguration it shows no errors
I changed only these two lines
external_url ‘http://gitlab.xyz’
nginx[‘redirect_http_to_https’] = true
#web_server[‘external_users’] = [‘www-data’]
Hey,
then try to use https://gitlab.xyz in your config.
If this doesent work check the nginx error logs.
(/var/log/gitlab/nginx/)