fix(S2-a): expose scoped app MQTT through WSS
This commit is contained in:
@@ -6,6 +6,14 @@ password_file /mosquitto/config/passwd
|
||||
acl_file /mosquitto/config/devices.acl
|
||||
allow_anonymous false
|
||||
|
||||
# Authenticated MQTT over WebSocket for app clients. Docker binds this listener only to
|
||||
# host loopback; nginx supplies the public WSS/TLS endpoint at /mqtt on port 443.
|
||||
listener 9001 0.0.0.0
|
||||
protocol websockets
|
||||
password_file /mosquitto/config/passwd
|
||||
acl_file /mosquitto/config/devices.acl
|
||||
allow_anonymous false
|
||||
|
||||
# TLS MQTT — devices authenticate with client certificates (port 8883)
|
||||
# require_certificate true forces client cert; cert CN becomes the MQTT username.
|
||||
# ACL restricts each device to devices/<serial_number>/#
|
||||
|
||||
Reference in New Issue
Block a user