From bd3c92aac9499cf006981d63994b71691dd6c756 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Wed, 19 Oct 2022 17:23:57 +0200 Subject: [PATCH] bundles/ntfy fix various typos --- PORT_MAP.md | 2 +- bundles/ntfy/files/server.yml | 2 +- bundles/ntfy/metadata.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PORT_MAP.md b/PORT_MAP.md index 1be4b18..c683843 100644 --- a/PORT_MAP.md +++ b/PORT_MAP.md @@ -46,8 +46,8 @@ Rule of thumb: keep ports below 10000 free for stuff that reserves ports. | 22070 | paperless-ng | gunicorn | | 22080 | netbox | gunicorn | | 22090 | openhab | http | -| 22091 | ntfy | http | | 22999 | nginx | stub_status | +| 22100 | ntfy | http | ## UDP | Port | bundle | usage | diff --git a/bundles/ntfy/files/server.yml b/bundles/ntfy/files/server.yml index 467cf82..448bd34 100644 --- a/bundles/ntfy/files/server.yml +++ b/bundles/ntfy/files/server.yml @@ -19,7 +19,7 @@ base-url: "https://${node.metadata.get('ntfy/domain', 'ntfy')}" # To listen on all interfaces, you may omit the IP address, e.g. ":443". # To disable HTTP, set "listen-http" to "-". # -listen-http: "127.0.0.1:22091" +listen-http: "127.0.0.1:22100" # listen-https: # Listen on a Unix socket, e.g. /var/lib/ntfy/ntfy.sock diff --git a/bundles/ntfy/metadata.py b/bundles/ntfy/metadata.py index c71a67a..2087fe2 100644 --- a/bundles/ntfy/metadata.py +++ b/bundles/ntfy/metadata.py @@ -34,7 +34,7 @@ defaults = { 'directory:/var/lib/ntfy', }, }, - 'tank/ntfy/attachmetns': { + 'tank/ntfy/attachments': { 'mountpoint': '/var/opt/ntfy', 'needed_by': { 'directory:/var/opt/ntfy', @@ -53,7 +53,7 @@ def nginx(metadata): locations = { '/': { - 'target': 'http://127.0.0.1:22091', + 'target': 'http://127.0.0.1:22100', 'proxy_set_header': { 'X-Real-IP': '$remote_addr', },