diff --git a/lib/Test/TA.pm b/lib/Test/TA.pm
index a6c9c77b5a548e47de4d6a0da89f2ae6f3047bed..9627cd1dd86369fb45dc12a0ce74e39b7d75f5db 100644
--- a/lib/Test/TA.pm
+++ b/lib/Test/TA.pm
@@ -70,7 +70,7 @@ sub is_testhost_available () {
 ---
 elasticsearch_host: $testhost
 elasticsearch_port: $testport
-http_only: 1
+http_only: ~
 logdir: /tmp
 password: 839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345
 permanent_volume:
diff --git a/t/02-init.t b/t/02-init.t
index 12308db2c12fe7d9ac09baf4adef798907b50a8b..6e8024980aa46c130b50675d956a47e8377835ae 100644
--- a/t/02-init.t
+++ b/t/02-init.t
@@ -61,7 +61,7 @@ _EOF_
 ---
 elasticsearch_host: $testhost
 elasticsearch_port: $testport
-http_only: 1
+http_only: ~
 logdir: /tmp
 password: 839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345
 permanent_volume: