From b4bedac447a9eadfecbbfdd451293d7d760beb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Cogolu=C3=A8gnes?= Date: Mon, 13 Feb 2017 11:58:11 +0100 Subject: [PATCH] Add proxy protocol Cuttlefish mapping Part of rabbitmq/rabbitmq-server#589 --- priv/schema/rabbitmq_mqtt.schema | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/priv/schema/rabbitmq_mqtt.schema b/priv/schema/rabbitmq_mqtt.schema index ca44eba..b838815 100644 --- a/priv/schema/rabbitmq_mqtt.schema +++ b/priv/schema/rabbitmq_mqtt.schema @@ -95,7 +95,12 @@ end}. {mapping, "mqtt.retained_message_store_dets_sync_interval", "rabbitmq_mqtt.retained_message_store_dets_sync_interval", [{datatype, integer}]}. +%% Whether or not to enable proxy protocol support. +%% +%% {proxy_protocol, false} +{mapping, "mqtt.proxy_protocol", "rabbitmq_mqtt.proxy_protocol", + [{datatype, {enum, [true, false]}}]}. %% TCP/SSL Configuration (as per the broker configuration). %%