Answer the question
In order to leave comments, you need to log in
Nginx and gitlab installation?
I put gitlab according to the instructions: https://about.gitlab.com/downloads/
I put it
on the server.
I entered the domain that I specified in the settings on the local PC in /etc/hosts.
Navigating this domain - standard nginx greeting.
I think that the problem is in the nginx settings, it works for me in conjunction with apache.
I would like to change the config for gitlaba, but where is it located? in /etc/nginx there
is nothing in /etc/gitlab either.
gitlab-ctl status tells me:
# gitlab-ctl status
run: nginx: (pid 17101) 2s; run: log: (pid 14442) 770s
run: postgresql: (pid 16321) 326s; run: log: (pid 13992) 1110s
run: redis: (pid 16323) 326s; run: log: (pid 13907) 1116s
run: sidekiq: (pid 16350) 324s; run: log: (pid 14427) 772s
run: unicorn: (pid 17105) 1s; run: log: (pid 14405) 778s
Answer the question
In order to leave comments, you need to log in
In general, ports can be changed in the gitlab config /etc/gitlab/gitlab.rb I
did this:
# Change the external_url to the address your users will type in their browser
external_url ' gitlab.lol '
#nginx['listen_addresses'] = ["0.0.0.0", "[90]"]
nginx['port']=90
unicorn ['port'] = 9292
Accordingly, I have to access gitlab.lol:90 ' from the browser, but this suits me perfectly
Maybe ssl / non-ssl mixed up?
For example, nginx listens to the ssl port, and you break on 80. You get the nginx welcome page ..
Well, attach the nginx config somehow, for example, to pastebin.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question