diff --git a/headscale/configmap.yaml b/headscale/configmap.yaml index fe20d52..a1ad2d8 100644 --- a/headscale/configmap.yaml +++ b/headscale/configmap.yaml @@ -15,6 +15,8 @@ data: db_type: sqlite3 db_path: /vol/data/db.sqlite private_key_path: /vol/secret/private.key + noise: + private_key_path: /vol/secret/noise_private.key derp: server: enabled: true @@ -30,3 +32,4 @@ data: nameservers: - 9.9.9.9 base_domain: vpn.tobru.ch + magic_dns: true diff --git a/headscale/statefulset.yaml b/headscale/statefulset.yaml index 2cb9244..1e8d594 100644 --- a/headscale/statefulset.yaml +++ b/headscale/statefulset.yaml @@ -17,7 +17,7 @@ spec: - command: - headscale - serve - image: ghcr.io/juanfont/headscale:0.16.4 + image: ghcr.io/juanfont/headscale:0.17.1 imagePullPolicy: IfNotPresent env: - name: GIN_MODE diff --git a/mqttwarn/cm-transformers.yaml b/mqttwarn/cm-transformers.yaml index 47d30ca..eb0fcf3 100644 --- a/mqttwarn/cm-transformers.yaml +++ b/mqttwarn/cm-transformers.yaml @@ -33,6 +33,7 @@ data: temperature=payload["uplink_message"]["decoded_payload"]["TempC_SHT"], humidity=payload["uplink_message"]["decoded_payload"]["Hum_SHT"], consumed_airtime=payload["uplink_message"]["consumed_airtime"].replace("s", ""), + rssi=payload["uplink_message"]["rx_metadata"][0]["rssi"], gateway_id=payload["uplink_message"]["rx_metadata"][0]["gateway_ids"][ "gateway_id" ], diff --git a/tobru-ch/Caddyfile b/tobru-ch/Caddyfile index 13b3b26..16cf4f6 100644 --- a/tobru-ch/Caddyfile +++ b/tobru-ch/Caddyfile @@ -1,4 +1,5 @@ http://:8080 { - header content-type "application/jrd+json; charset=utf-8" - respond "{\"subject\":\"acct:tobru@mstdn.social\",\"aliases\":[\"https://mstdn.social/@tobru\",\"https://mstdn.social/users/tobru\"],\"links\":[{\"rel\":\"http://webfinger.net/rel/profile-page\",\"type\":\"text/html\",\"href\":\"https://mstdn.social/@tobru\"},{\"rel\":\"self\",\"type\":\"application/activity+json\",\"href\":\"https://mstdn.social/users/tobru\"},{\"rel\":\"http://ostatus.org/schema/1.0/subscribe\",\"template\":\"https://mstdn.social/authorize_interaction?uri={uri}\"}]}" + reverse_proxy https://social.tobru.ch { + header_up Host "social.tobru.ch" + } }