Skip to content

Commit

Permalink
Testing server
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Apr 30, 2024
1 parent 4dd034b commit 52d8828
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
1 change: 0 additions & 1 deletion cmd/mqtt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ func proxyWS(ctx context.Context, logger *slog.Logger, sessionHandler session.Ha
panic(err)
}

logger.Info(fmt.Sprintf("Targert --> %s", wsConfig.Target))
wp := websocket.New(wsConfig, sessionHandler, interceptor, logger)
http.Handle("/mqtt", wp)

Expand Down
1 change: 1 addition & 0 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ MG_MQTT_ADAPTER_TARGET=${MG_MQTT_BROKER_TYPE}:1883
## MPROXY MQTT WS
MG_MQTT_WS_ADAPTER_ADDRESS=:8080
MG_MQTT_WS_ADAPTER_TARGET=ws://${MG_MQTT_BROKER_TYPE}:8080/mqtt
MG_MQTT_WS_ADAPTER_PREFIX_PATH=/mqtt
# MG_MQTT_WS_ADAPTER_CERT_FILE=
# MG_MQTT_WS_ADAPTER_KEY_FILE=
# MG_MQTT_WS_ADAPTER_SERVER_CA_FILE=etc/ssl/certs/ca.crt
Expand Down
28 changes: 0 additions & 28 deletions docker/ssl/certs/thing.csr

This file was deleted.

0 comments on commit 52d8828

Please sign in to comment.