diff --git a/ansible/roles/horizon/templates/horizon.conf.j2 b/ansible/roles/horizon/templates/horizon.conf.j2
index c3bf7acc7b..b69b390103 100644
--- a/ansible/roles/horizon/templates/horizon.conf.j2
+++ b/ansible/roles/horizon/templates/horizon.conf.j2
@@ -20,7 +20,7 @@ Listen {{ api_interface_address }}:80
     <Location "/static">
         SetHandler None
     </Location>
-</Virtualhost>
+</VirtualHost>
 
 {% if kolla_enable_tls_external | bool %}
 Header edit Location ^http://(.*)$ https://$1