From 023a74bf47c5d5b2b6644f83bb8a2395c72aeb0f Mon Sep 17 00:00:00 2001
From: nd <git@notandy.de>
Date: Sat, 23 Jan 2021 02:54:03 +0100
Subject: [PATCH] enable gitlab pages access_controll to work around a gitlab
 bug

---
 templates/gitlab.rb.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab.rb.j2 b/templates/gitlab.rb.j2
index 74676f1..b82ec06 100644
--- a/templates/gitlab.rb.j2
+++ b/templates/gitlab.rb.j2
@@ -1446,7 +1446,7 @@ gitlab_pages['listen_proxy'] = '127.0.0.1:11181" -listen-proxy="[::1]:11181'
 # gitlab_pages['tls_max_version'] = "tls1.2"
 
 ##! Pages access control
-# gitlab_pages['access_control'] = false
+gitlab_pages['access_control'] = true
 # gitlab_pages['gitlab_id'] = nil # Automatically generated if not present
 # gitlab_pages['gitlab_secret'] = nil # Generated if not present
 # gitlab_pages['auth_redirect_uri'] = nil # Defaults to projects subdomain of pages_external_url and + '/auth'
-- 
GitLab