diff --git a/container/weewx/default.nix b/container/weewx/default.nix index 55e1b6a..fc08560 100644 --- a/container/weewx/default.nix +++ b/container/weewx/default.nix @@ -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; + }; }; } diff --git a/secret/container/weewx/config/weewx.conf b/secret/container/weewx/config/weewx.conf index e1a3466..d9a5851 100644 Binary files a/secret/container/weewx/config/weewx.conf and b/secret/container/weewx/config/weewx.conf differ