Unable to give URL to my Gitlab server and cannot configure HTTPS for server

sysadmin
linux
ubuntu

#1

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.


#2

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.


#3

external_url 'http://gitlab.xyz
nginx[‘redirect_http_to_https’] = true
#web_server[‘external_users’] = [‘www-data’]


#4

while reconfiguration it shows no errors


#5

I changed only these two lines
external_url 'http://gitlab.xyz
nginx[‘redirect_http_to_https’] = true
#web_server[‘external_users’] = [‘www-data’]


#6

Hey,
then try to use https://gitlab.xyz in your config.
If this doesent work check the nginx error logs.
(/var/log/gitlab/nginx/)