Modify the default port of Gitlab to 8088:
Step 1: Modify the/etc/gitlab/gitlab.rb file. If there are any of the following parameters, directly modify them. If not, add new ones
nginx['listen_port'] = 8088
one
Step 2: Modify the default Gitlab nginx web service 80 end/var/opt/gitlab/nginx/conf/gitlab http. conf
server { ## HTTPS server
listen *:8088;
one
two
Step 3: Initialize and restart the component:
gitlab-ctl reconfigure
gitlab-ctl restart
one
two
Step 4: Browser Access http://ip:8088
————————————————
Copyright Statement: This article is an original article by CSDN blogger "Xiao Chen, who loves technology". It follows the CC 4.0 BY-SA copyright agreement. Please attach the original source link and this statement when reprinting.
Original link: https://blog.csdn.net/weixin_44371237/article/details/129165419