Skip to content

Commit

Permalink
docs: added some explanations for the usage of the mqtt proxy (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkocot authored Jan 7, 2022
1 parent 18c316f commit ef04e06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/latest/plugins/mqtt-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ Creates a stream route, and enable plugin `mqtt-proxy`.
```shell
curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"remote_addr": "127.0.0.1",
"plugins": {
"mqtt-proxy": {
"protocol_name": "MQTT",
Expand All @@ -89,6 +88,8 @@ curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f03
}'
```

In case Docker is used in combination with MacOS `host.docker.internal` is the right parameter for `host`.

## Delete Plugin

```shell
Expand Down

0 comments on commit ef04e06

Please sign in to comment.