Skip to content

Commit 81691b6

Browse files
fix ssl_ciphers array behavior
1 parent 8c07b77 commit 81691b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/vhost/_ssl.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
SSLProtocol <%= [@ssl_protocol].flatten.compact.join(' ') %>
1414
<%- end -%>
1515
<%- if @ssl_cipher -%>
16-
SSLCipherSuite <%= @ssl_cipher %>
16+
<%- if @ssl_cipher.kind_of?(String) -%>
17+
SSLCipherSuite <%= @ssl_cipher %>
18+
<%- else -%>
19+
SSLCipherSuite <%= @ssl_cipher.flatten.compact.join(':') %>
20+
<%- end -%>
1721
<%- end -%>
1822
<%- if not @ssl_honorcipherorder.nil? -%>
1923
SSLHonorCipherOrder <%= scope.call_function('apache::bool2httpd', [@_ssl_honorcipherorder]) %>

0 commit comments

Comments
 (0)