August 2019
Beginner
608 pages
16h 7m
English
The role of this component in the GitLab architecture is well described in Chapter 1, Introducing the GitLab Architecture. It functions as a reverse proxy, and buffers HTTP requests from clients before they are sent to the Unicorn application server. The default NGINX that comes with Debian is too old for use with GitLab. That is why we have to install a newer one (> 1.12.1).
Now, install the latest NGINX:
$ sudo apt-get install -y nginx
Copy the GitLab custom NGINX configuration files that are in our GitLab installation folder to the NGINX configuration folder:
$ cd /home/gitlab/gitlab;sudo cp lib/support/nginx/gitlab /etc/nginx/conf.d/gitlab.conf
Change settings if needed (for example, change the server_name YOUR_SERVER_FQDN line ...
Read now
Unlock full access