diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
index f449660934..6f9b8289cc 100644
--- a/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
+++ b/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
@@ -27,5 +27,8 @@
{% if apim.wss.ciphers is defined %}
{{apim.wss.ciphers}}
{% endif %}
+ {%if apim.wss.pass_through_control_frames is defined %}
+ {{apim.wss.pass_through_control_frames}}
+ {%endif%}
diff --git a/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2 b/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
index 699fb9cdf5..7d0edcc3a5 100644
--- a/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
+++ b/modules/distribution/product/src/main/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
@@ -19,5 +19,8 @@
{%if apim.ws.outflow.dispatch.idleTime is defined %}
{{apim.ws.outflow.dispatch.idleTime}}
{%endif%}
+ {%if apim.ws.pass_through_control_frames is defined %}
+ {{apim.ws.pass_through_control_frames}}
+ {%endif%}
\ No newline at end of file
diff --git a/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2 b/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
index f449660934..6f9b8289cc 100644
--- a/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
+++ b/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/SecureWebSocketInboundEndpoint.xml.j2
@@ -27,5 +27,8 @@
{% if apim.wss.ciphers is defined %}
{{apim.wss.ciphers}}
{% endif %}
+ {%if apim.wss.pass_through_control_frames is defined %}
+ {{apim.wss.pass_through_control_frames}}
+ {%endif%}
diff --git a/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2 b/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
index dc22972d72..6fd3c53e0f 100644
--- a/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
+++ b/update-artifacts/repository/resources/conf/templates/repository/deployment/server/synapse-configs/default/inbound-endpoints/WebSocketInboundEndpoint.xml.j2
@@ -19,5 +19,8 @@
{%if apim.ws.outflow.dispatch.idleTime is defined %}
{{apim.ws.outflow.dispatch.idleTime}}
{%endif%}
+ {%if apim.ws.pass_through_control_frames is defined %}
+ {{apim.ws.pass_through_control_frames}}
+ {%endif%}