WPMedia / nginx-amqp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx-amqp

Require librabbitmq from rabbit-c:
https://github.com/alanxz/rabbitmq-c

  1. Install rabbit-c driver from above link.
  2. Download nginx from http://nginx.org/en/download.html
  3. Unzip file and use following command
    ./configure --add-module=/path/to/nginx/amqp
    make
    sudo make
  4. Use "location /test{ ... }" part from above nginx.conf (which should be put in /usr/local/nginx/conf/)

========== You may need to declare exchange and queue first.

About


Languages

Language:C 100.0%