August 2019
Beginner
608 pages
16h 7m
English
The first declaration in this file is which role the instance will play in our infrastructure:
# Disable components that will not be on the GitLab application serverroles ['application_role']nginx['enable'] = true
Along with the role, another function (nginx) is activated, which acts as an auxiliary function to the application role. NGINX is the reverse proxy in front of the Unicorn web server.
An important setting is the external URL that is going to be used to reach GitLab via HTTP. For our example, we use HTTP, but you can also use HTTPS. The URL is pulled again from the dynamic inventory:
# The URL GitLab is available on external_url 'http://{{ hostvars[groups['lb'][0]]['inventory_hostname'] }}'
We are going ...
Read now
Unlock full access