Verified Commit ed1ba0fb authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

gitlab: Fix address binding

GitLab becomes unhappy if it can't poll localhost.
parent a06a193a
Pipeline #4760 passed with stage
in 45 seconds
......@@ -11,7 +11,7 @@
- { role: root_ssh }
- { role: gitlab,
gitlab_domain: "gitlab.archlinux.org",
gitlab_primary_addresses: ['159.69.41.129', '[2a01:4f8:c2c:5d2d::1]'],
gitlab_primary_addresses: ['159.69.41.129', '[2a01:4f8:c2c:5d2d::1]', '127.0.0.1', '[::1]'],
gitlab_pages_http_addresses: ['116.203.6.156:80', '[2a01:4f8:c2c:5d2d::2]:80'],
gitlab_pages_https_addresses: ['116.203.6.156:443', '[2a01:4f8:c2c:5d2d::2]:443']
}
......
......@@ -34,7 +34,7 @@
external_url 'https://{{ gitlab_domain }}'
nginx['client_max_body_size'] = '10g'
nginx['listen_addresses'] = {{ gitlab_primary_addresses }}
registry_nginx['listen_addresses'] = ['*', '[::]']
registry_nginx['listen_addresses'] = {{ gitlab_primary_addresses }}
gitlab_pages['inplace_chroot'] = true
pages_external_url "http://{{ gitlab_domain }}"
pages_nginx['enable'] = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment