add-ntfy #54
3 changed files with 4 additions and 4 deletions
|
@ -46,8 +46,8 @@ Rule of thumb: keep ports below 10000 free for stuff that reserves ports.
|
||||||
| 22070 | paperless-ng | gunicorn |
|
| 22070 | paperless-ng | gunicorn |
|
||||||
| 22080 | netbox | gunicorn |
|
| 22080 | netbox | gunicorn |
|
||||||
| 22090 | openhab | http |
|
| 22090 | openhab | http |
|
||||||
| 22091 | ntfy | http |
|
|
||||||
| 22999 | nginx | stub_status |
|
| 22999 | nginx | stub_status |
|
||||||
|
| 22100 | ntfy | http |
|
||||||
|
|
||||||
## UDP
|
## UDP
|
||||||
| Port | bundle | usage |
|
| Port | bundle | usage |
|
||||||
|
|
|
@ -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 listen on all interfaces, you may omit the IP address, e.g. ":443".
|
||||||
# To disable HTTP, set "listen-http" to "-".
|
# To disable HTTP, set "listen-http" to "-".
|
||||||
#
|
#
|
||||||
listen-http: "127.0.0.1:22091"
|
listen-http: "127.0.0.1:22100"
|
||||||
# listen-https:
|
# listen-https:
|
||||||
|
|
||||||
# Listen on a Unix socket, e.g. /var/lib/ntfy/ntfy.sock
|
# Listen on a Unix socket, e.g. /var/lib/ntfy/ntfy.sock
|
||||||
|
|
|
@ -34,7 +34,7 @@ defaults = {
|
||||||
'directory:/var/lib/ntfy',
|
'directory:/var/lib/ntfy',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'tank/ntfy/attachmetns': {
|
'tank/ntfy/attachments': {
|
||||||
'mountpoint': '/var/opt/ntfy',
|
'mountpoint': '/var/opt/ntfy',
|
||||||
'needed_by': {
|
'needed_by': {
|
||||||
'directory:/var/opt/ntfy',
|
'directory:/var/opt/ntfy',
|
||||||
|
@ -53,7 +53,7 @@ def nginx(metadata):
|
||||||
|
|
||||||
locations = {
|
locations = {
|
||||||
'/': {
|
'/': {
|
||||||
'target': 'http://127.0.0.1:22091',
|
'target': 'http://127.0.0.1:22100',
|
||||||
'proxy_set_header': {
|
'proxy_set_header': {
|
||||||
'X-Real-IP': '$remote_addr',
|
'X-Real-IP': '$remote_addr',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue