![]() ![]() When we installed Gitlab, it added a user group called gitlab-The following assumes you've installed apache and the user apache (48) exists: Let's edit the Gitlab config file to disable nginx and tell gitlab to use apache: vi /etc/gitlab/gitlab.rbĪdd either your domain or IP to the following: external_url ''įind: # web_server = Ĭhange to (don't forget to remove the leading '#'): web_server = Īnd finally we have to run a "recompile" with: gitlab-ctl reconfigure Assumes you are root user: yum install -y httpd Now that port 80 is free, you can start Apache (don't forget to install Apache if it's not already / Instructions are for RHEL systems - modify accordingly for Ubuntu etc). To stop Nginx, run the following from a command line as root: gitlab-ctl stop nginx ![]() This makes it confusing when trying to enable Apache (Apache won't start due to default port 80 in use by nginx).Īssuming you've installed Gitlab according to the default install instructions, the Nginx service will now be managed by the gitlab-ctl service manager (which is installed when installed Gitlab). By default GitLab will install nginx but usually won't add nginx to your system's service manager (service or systemctl).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |