Skip to content

Commit 4a8e357

Browse files
Filip FedorowFilip Fedorow
authored andcommitted
Changed config names to be just RabbitMQ package settings.
1 parent 298ff6d commit 4a8e357

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ RABBITMQ_QUEUE=queue_name
3030
3. Optionally: if you want to to use an SSL connection, add these properties to the `.env` with proper values:
3131
```
3232
RABBITMQ_SSL=true
33-
34-
SSL_CAFILE=/path/to/your/ca/cacert.pem
35-
SSL_LOCALCERT=
36-
SSL_PASSPHRASE=
37-
SSL_KEY=
33+
RABBITMQ_SSL_CAFILE=/path_to_your_ca_file
34+
RABBITMQ_SSL_LOCALCERT=
35+
RABBITMQ_SSL_PASSPHRASE=
36+
RABBITMQ_SSL_KEY=
3837
```
3938

4039
Using an SSL connection will also require to configure your RabbitMQ to enable SSL. More details can be founds here: https://www.rabbitmq.com/ssl.html

config/rabbitmq.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
*/
6161
'ssl_params' => [
6262
'ssl_on' => env('RABBITMQ_SSL', false),
63-
'cafile' => env('SSL_CAFILE', null),
64-
'local_cert' => env('SSL_LOCALCERT', null),
65-
'verify_peer' => env('SSL_VERIFY_PEER', true),
66-
'passphrase' => env('SSL_PASSPHRASE', null),
63+
'cafile' => env('RABBITMQ_SSL_CAFILE', null),
64+
'local_cert' => env('RABBITMQ_SSL_LOCALCERT', null),
65+
'verify_peer' => env('RABBITMQ_SSL_VERIFY_PEER', true),
66+
'passphrase' => env('RABBITMQ_SSL_PASSPHRASE', null),
6767
]
6868

6969
];

0 commit comments

Comments
 (0)