Skip to content

Commit 5227621

Browse files
fix ssl_ciphers array behavior
1 parent 8a3ad85 commit 5227621

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/vhost/_ssl.erb

Lines changed: 4 additions & 0 deletions
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+
<%- if @ssl_cipher.kind_of?(String) -%>
1617
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)