From fe8208c0f70544e2a20bd88f222b848146570c45 Mon Sep 17 00:00:00 2001
From: nd <git@notandy.de>
Date: Sat, 23 Jan 2021 03:10:19 +0100
Subject: [PATCH] drop internal ipv4 support for gitlab pages

---
 templates/gitlab.rb.j2 | 2 +-
 vars/main.yml          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/gitlab.rb.j2 b/templates/gitlab.rb.j2
index b82ec06..2d9ccbe 100644
--- a/templates/gitlab.rb.j2
+++ b/templates/gitlab.rb.j2
@@ -1418,7 +1418,7 @@ gitlab_pages['external_http'] = []
 # What I meant to say was this:
 #gitlab_pages['listen_proxy'] = ['127.0.0.1:11181', '[::1]:11181']
 # It didn't support arrays. Now we are here:
-gitlab_pages['listen_proxy'] = '127.0.0.1:11181" -listen-proxy="[::1]:11181'
+gitlab_pages['listen_proxy'] = '[::1]:11181'
 
 ##! Configure GitLab Pages to use an HTTP Proxy
 # gitlab_pages['http_proxy'] = "http://example:8080"
diff --git a/vars/main.yml b/vars/main.yml
index 00ec57d..3616f22 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -5,7 +5,7 @@ nginx:
       - address: "localhost:11180"
     "internal-gitlab-pages":
       server:
-      - address: "localhost:11181"
+      - address: "[::1]:11181"
     "internal-gitlab-registry":
       server:
       - address: "127.0.0.1:5000"
-- 
GitLab