{# Copyright (C) 2011-2015 GitLab B.V. <https://gitlab.com/>
 # Copyright (C) 2021 Pedro Luis Lopez <pedroluis.lopezsanchez@gmail.com>
 # Copyright (C) 2015-2021 DebOps <https://debops.org/>
 # SPDX-License-Identifier: MIT
 #}
# {{ ansible_managed }}

pages-domain={{ gitlab_pages_domain }}
pages-root={{ gitlab_pages_path }}
listen-proxy=127.0.0.1:{{ gitlab_pages_port }}
gitlab-server=https://{{ gitlab__fqdn }}
artifacts-server=https://{{ gitlab__fqdn }}/api/v4

{% if gitlab_pages_auth_client_id and gitlab_pages_auth_client_secret %}
auth-client-id={{ gitlab_pages_auth_client_id }}
auth-client-secret={{ gitlab_pages_auth_client_secret }}
auth-redirect-uri=https://{{ gitlab_pages_domain }}/auth
auth-secret={{ gitlab_pages_auth_secret }}
{% endif %}
