gitlab's own nginx and nginx conflict resolution

Note: when
I first install nginx, then install gitlab, and then access the server ip, I jump to the nginx welcome page
Solution:

vim /var/opt/gitlab/nginx/conf/gitlab-http.conf

Insert picture description here
Modify this port number, save and exit
Restart gitlab

gitlab-ctl restart

After restarting, visit ip: port number, I still can't work here, the problem is that you need to open the port number you changed

firewall-cmd --zone=public --add-port=8090/tcp --permanent

So that you can access
Insert picture description here

Published 104 original articles · Liked 18 · Visitors 8607

Guess you like

Origin blog.csdn.net/y368769/article/details/104605919