Search code examples
rabbitmq

where is rabbitmq config file?


Documentation says that rabbitmq has config: /etc/rabbitmq/rabbitmq.conf but I have nothing there, but rabbitmq-server is running and consuming messages.

Where is my config file?


Solution

  • 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.