Skip to content

Commit 94bc831

Browse files
committed
haproxy: ssl-default-server-curves added in 2.9.0
x-ref: "HAProxy config uses ssl-default-server-curves for versions that do not support it" #311 github: fixes #311
1 parent bc887a0 commit 94bc831

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/js/helpers/haproxy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export default (form, output) => {
88

99
function haproxy_ssl_default_opts (tag) {
1010
var conf =
11+
(minver("2.9.0", form.serverVersion) || tag === 'bind'
12+
?
1113
' ssl-default-'+tag+'-curves '+output.tlsCurves.join(':')+'\n'+
14+
: '')+
1215
(output.ciphers.length
1316
?
1417
' ssl-default-'+tag+'-ciphers '+output.ciphers.join(':')+'\n'

0 commit comments

Comments
 (0)