where is rabbitmq config file?

It depends in which way you install RabbitMQ. The file usually is not present. If you need it, you have to create it.

For example if you use the package:

rabbitmq-server-mac-standalone-3.4.2.tar.gz

You can find the example file:

etc/rabbitmq/rabbitmq.config.example

and not the file.

Using RABBITMQ_CONFIG_FILE you can specify the rabbitmq.config file, to be sure you can check this variable.


On Windows:

RabbitMQ 3.7.0+

%APPDATA%\RabbitMQ\rabbitmq.conf

In RabbitMQ 3.7.0+, the main configuration file is rabbitmq.conf. An additional config file named advanced.config is also used for some advanced configuration settings; it uses the classic format.

Prior to 3.7.0:

%APPDATA%\RabbitMQ\rabbitmq.config

The configuration file is named rabbitmq.config and uses the Erlang term format (aka the "classic format" for RabbitMQ config files).

Example files:

  • rabbitmq.conf.example
  • advanced.config.example
  • rabbitmq.config.example

Tags:

Rabbitmq