Skip to content

Commit e36d9e9

Browse files
committed
Add ssl parameter to IPv6 listen directive
1 parent dc6e7c9 commit e36d9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mailhost/mailhost_ssl.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ server {
1717
listen <%= $ip %>:<%= $ssl_port %><% if versioncmp($nginx_version, '1.15.0') >= 0 { %> ssl<% } %>;
1818
<%- } -%>
1919
<%- $ipv6_listen_ip.each |$ipv6| { -%>
20-
listen [<%= $ipv6 %>]:<%= $ssl_port %> <% if $ipv6_listen_options { %><%= $ipv6_listen_options %><% } %>;
20+
listen [<%= $ipv6 %>]:<%= $ssl_port %><% if versioncmp($nginx_version, '1.15.0') >= 0 { %> ssl<% } %> <% if $ipv6_listen_options { %><%= $ipv6_listen_options %><% } %>;
2121
<%- } -%>
2222
<%= $mailhost_common -%>
2323

0 commit comments

Comments
 (0)