1
0
Fork 0

weewx: Expose MQTT

This commit is contained in:
Daniel Kempkens 2023-03-25 00:31:06 +01:00
parent e287ef8e28
commit dc515b4bbe
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 6 additions and 0 deletions

View file

@ -111,5 +111,11 @@ in
locations."~ ^/dwd/[\w]+\.(gif|png)".extraConfig = ''
expires modified 1h;
'';
locations."/mqtt" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:9883";
proxyWebsockets = true;
};
};
}