Skip to content

Commit ff8c637

Browse files
change handling
1 parent bcfac6c commit ff8c637

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/vhost/_ssl.erb

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

0 commit comments

Comments
 (0)