Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 419 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 419 Bytes

nginx_nats_pub

ngxin_nats_pub using nginx_nats is a nginx location module saving http post data to NATS server.

Configuration

  nats {
    server host:post
    reconnect 2;
    ping 30s:
    .
    .
    .
  }

  http {
    server {
      location ~/path {
        natspublisher "subject" "replyTo"
      }
      .
      .
      .
    }
  }

build

--add-module=/path/to/nginx_nats_pub