diff --git a/slapos/recipe/apache/template/stunnel.conf.in b/slapos/recipe/apache/template/stunnel.conf.in
index dccb29d4af2d105c2528f809e3c7581556d9dbfa..e1264d7d61fcc214765ffc50c1e2f8b3d9f46e9f 100644
--- a/slapos/recipe/apache/template/stunnel.conf.in
+++ b/slapos/recipe/apache/template/stunnel.conf.in
@@ -7,5 +7,8 @@ CApath = %(ca_path)s
 key = %(key)s
 CRLpath = %(ca_crl)s
 cert = %(cert)s
+sslVersion = SSLv3
+socket = l:TCP_NODELAY=1
+socket = r:TCP_NODELAY=1
 
 %(entry_str)s