Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 77e4c7d

Browse files
committed
Add to_json for LE emails
1 parent c1e6c14 commit 77e4c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/gitlab.rb.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nginx['ssl_certificate_key'] = "{{ gitlab_ssl_certificate_key }}"
2121

2222
letsencrypt['enable'] = "{{ gitlab_letsencrypt_enable }}"
2323
{% if gitlab_letsencrypt %}
24-
letsencrypt['contact_emails'] = ["{{ gitlab_letsencrypt_contact_emails }}"]
24+
letsencrypt['contact_emails'] = ["{{ gitlab_letsencrypt_contact_emails | to_json }}"]
2525
letsencrypt['auto_renew_hour'] = "{{ gitlab_letsencrypt_auto_renew_hour }}"
2626
letsencrypt['auto_renew_minute'] = "{{ gitlab_letsencrypt_auto_renew_minute }}"
2727
letsencrypt['auto_renew_day_of_month'] = "{{ gitlab_letsencrypt_auto_renew_day_of_month }}"

0 commit comments

Comments
 (0)