Skip to content

Commit e4b2fe7

Browse files
committed
Add a few extra missing properties & correct defaults in example config
1 parent 78d2e89 commit e4b2fe7

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

docs/rabbitmq.config.example

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
%% connection. Hostnames will then be shown instead of IP addresses
5353
%% in rabbitmqctl and the management plugin.
5454
%%
55-
%% {reverse_dns_lookups, true},
55+
%% {reverse_dns_lookups, false},
5656

5757
%%
5858
%% Security / AAA
@@ -124,12 +124,17 @@
124124
%%
125125
%% To use the SSL cert's CN instead of its DN as the username
126126
%%
127-
%% {ssl_cert_login_from, common_name},
127+
%% {ssl_cert_login_from, distinguished_name},
128128

129129
%% SSL handshake timeout, in milliseconds.
130130
%%
131131
%% {ssl_handshake_timeout, 5000},
132132

133+
%% Whether to allow SSH POODLE attack,
134+
%% as is the case of Erlang versions that make it impossible to disable SSLv3
135+
%%
136+
%% {ssl_allow_poodle_attack, false},
137+
133138
%% Password hashing implementation. Will only affect newly
134139
%% created users. To recalculate hash for an existing user
135140
%% it's necessary to update her password.
@@ -200,7 +205,7 @@
200205
%% Set the max permissible number of channels per connection.
201206
%% 0 means "no limit".
202207
%%
203-
%% {channel_max, 128},
208+
%% {channel_max, 0},
204209

205210
%% Customising Socket Options.
206211
%%
@@ -335,9 +340,13 @@
335340
%%
336341
%% {collect_statistics_interval, 5000},
337342

343+
%% Enables vhosts tracing.
344+
%%
345+
%% {trace_vhosts, []},
346+
338347
%% Explicitly enable/disable HiPE compilation.
339348
%%
340-
%% {hipe_compile, true},
349+
%% {hipe_compile, false},
341350

342351
%% Number of delegate processes to use for intra-cluster communication.
343352
%% On a machine which has a very large number of cores and is also part of a cluster,
@@ -644,8 +653,12 @@
644653

645654
%% TCP/Socket options (as per the broker configuration).
646655
%%
647-
%% {tcp_listen_options, [{backlog, 128},
648-
%% {nodelay, true}]}
656+
%% {tcp_listen_options, [
657+
%% {backlog, 128},
658+
%% {nodelay, true},
659+
%% {linger, {true, 0}},
660+
%% {exit_on_close, false}
661+
%% ]},
649662
]},
650663

651664
%% ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)