This repository was archived by the owner on Sep 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ gitlab_registry_external_url: "https://gitlab.example.com:4567"
74
74
gitlab_registry_nginx_ssl_certificate : " /etc/gitlab/ssl/gitlab.crt"
75
75
gitlab_registry_nginx_ssl_certificate_key : " /etc/gitlab/ssl/gitlab.key"
76
76
77
+ # Pages configuration.
78
+ gitlab_pages_enable : false
79
+ gitlab_pages_external_url : " https://pages.gitlab.example.com"
80
+ gitlab_pages_nginx_ssl_certificate : " /etc/gitlab/ssl/gitlab.crt"
81
+ gitlab_pages_nginx_ssl_certificate_key : " /etc/gitlab/ssl/gitlab.key"
82
+
77
83
# LetsEncrypt configuration.
78
84
gitlab_letsencrypt_enable : false
79
85
gitlab_letsencrypt_contact_emails :
["[email protected] "]
Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ registry_nginx['ssl_certificate'] = "{{ gitlab_registry_nginx_ssl_certificate }}
97
97
registry_nginx['ssl_certificate_key'] = "{{ gitlab_registry_nginx_ssl_certificate_key }}"
98
98
{% endif %}
99
99
100
+ # GitLab pages.
101
+ gitlab_pages['enable'] = {{ gitlab_pages_enable | lower }}
102
+ {% if gitlab_pages_enable %}
103
+ pages_external_url "{{ gitlab_pages_external_url }}"
104
+ gitlab_pages_nginx['ssl_certificate'] = "{{ gitlab_pages_nginx_ssl_certificate }}"
105
+ gitlab_pages_nginx['ssl_certificate_key'] = "{{ gitlab_pages_nginx_ssl_certificate_key }}"
106
+ {% endif %}
107
+
100
108
{% if gitlab_extra_settings is defined %}
101
109
# Extra configuration
102
110
{% for extra in gitlab_extra_settings %}
You can’t perform that action at this time.
0 commit comments