diff --git a/software/apache-frontend/buildout.hash.cfg b/software/apache-frontend/buildout.hash.cfg
index 941fce3810ed7b7338ea5b30f3ac3a080d023f15..37ffa25cf39c4c67a3d9ea1f1b19ca144679f5d6 100644
--- a/software/apache-frontend/buildout.hash.cfg
+++ b/software/apache-frontend/buildout.hash.cfg
@@ -31,7 +31,7 @@ md5sum = 24e514ad6f15859229db46f24a8cd280
 
 [template-slave-configuration]
 filename = templates/custom-virtualhost.conf.in
-md5sum = d103143e5d50682bd5ad43117d82e2fa
+md5sum = b3d5a3573fa381fec954ad5cbf1575a0
 
 [template-replicate-publish-slave-information]
 filename = templates/replicate-publish-slave-information.cfg.in
diff --git a/software/apache-frontend/templates/custom-virtualhost.conf.in b/software/apache-frontend/templates/custom-virtualhost.conf.in
index d6dd0e83d22d06458ac602c026dba508bb13bd16..05d2b4ce5f40e1492bf17d0d92884fbde3bc7fa8 100644
--- a/software/apache-frontend/templates/custom-virtualhost.conf.in
+++ b/software/apache-frontend/templates/custom-virtualhost.conf.in
@@ -3,5 +3,5 @@
 </VirtualHost>
 
 <VirtualHost *:{{ http_port }}>
-{{ slave_parameter.get('apache_custom_https', '') }}
+{{ slave_parameter.get('apache_custom_http', '') }}
 </VirtualHost>