Skip to content

Commit 9f7a51e

Browse files
committed
Document Unix domain socket listeners in rabbitmq.conf.example
The example config covered TCP and TLS listeners but not Unix domain socket listeners, which the `listeners.tcp.$name` schema now accepts. Add a commented example for the `unix:` and `local:` prefixed forms, both of which take the socket path followed by `:0` as the port.
1 parent 6e9fe98 commit 9f7a51e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

deps/rabbit/docs/rabbitmq.conf.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@
5050
# listeners.tcp.other_ip = 10.10.10.10:5672
5151

5252

53+
## To listen on a Unix domain socket, provide the socket path prefixed with
54+
## unix: (or the equivalent local:) followed by :0 as the port. The two
55+
## prefixes are interchangeable.
56+
##
57+
# listeners.tcp.unix = unix:/var/run/rabbitmq/rabbitmq.sock:0
58+
# listeners.tcp.unix = local:/var/run/rabbitmq/rabbitmq.sock:0
59+
60+
5361
## TLS listeners are configured in the same fashion as TCP listeners,
5462
## including the option to control the choice of interface.
5563
##

0 commit comments

Comments
 (0)