weewx: Expose MQTT
This commit is contained in:
parent
e287ef8e28
commit
dc515b4bbe
2 changed files with 6 additions and 0 deletions
|
@ -111,5 +111,11 @@ in
|
||||||
locations."~ ^/dwd/[\w]+\.(gif|png)".extraConfig = ''
|
locations."~ ^/dwd/[\w]+\.(gif|png)".extraConfig = ''
|
||||||
expires modified 1h;
|
expires modified 1h;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
locations."/mqtt" = {
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
proxyPass = "http://127.0.0.1:9883";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue