diff --git a/templates/standalone-ha.xml.j2 b/templates/standalone-ha.xml.j2
index e57adb8..8e1b425 100644
--- a/templates/standalone-ha.xml.j2
+++ b/templates/standalone-ha.xml.j2
@@ -557,7 +557,7 @@
-
+
@@ -666,6 +666,9 @@
+ {% if keycloak_behind_reverse_proxy %}
+
+ {% endif %}