Browse Source

Correct broker URL in RabbitMQ getting started info. (#4043)

The broker URL should correspond to the actual setup instructions.
Luke Plant 7 years ago
parent
commit
818ef79858
1 changed files with 5 additions and 2 deletions
  1. 5 2
      docs/getting-started/brokers/rabbitmq.rst

+ 5 - 2
docs/getting-started/brokers/rabbitmq.rst

@@ -16,11 +16,12 @@ the broker instance you want to use:
 
 .. code-block:: python
 
-    broker_url = 'amqp://guest:guest@localhost:5672//'
+    broker_url = 'amqp://myuser:mypassword@localhost:5672/myvhost'
 
 For a description of broker URLs and a full list of the
 various broker configuration options available to Celery,
-see :ref:`conf-broker-settings`.
+see :ref:`conf-broker-settings`, and see below for setting up the
+username, password and vhost.
 
 .. _installing-rabbitmq:
 
@@ -64,6 +65,8 @@ allow that user access to that virtual host:
 
     $ sudo rabbitmqctl set_permissions -p myvhost myuser ".*" ".*" ".*"
 
+Substitute in appropriate values for ``myuser``, ``mypassword`` and ``myvhost`` above.
+
 See the RabbitMQ `Admin Guide`_ for more information about `access control`_.
 
 .. _`Admin Guide`: http://www.rabbitmq.com/admin-guide.html