瀏覽代碼

[ntfy] Use port 8003

Colin Powell 3 年之前
父節點
當前提交
5ae9423847
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ansible/roles/caddy/files/Caddyfile
  2. 1 1
      ansible/roles/ntfy/files/ntfy.rc

+ 1 - 1
ansible/roles/caddy/files/Caddyfile

@@ -130,5 +130,5 @@ draw.unbl.ink {
     reverse_proxy excalidraw.service
 }
 notify.unbl.ink {
-    reverse_proxy ntfy.service
+    reverse_proxy ntfy.service:8003
 }

+ 1 - 1
ansible/roles/ntfy/files/ntfy.rc

@@ -12,7 +12,7 @@ NTFY_PID="/var/run/ntfy.pid"
 case "$1" in
 	"start")
 		echo "Starting ntfy..."
-		${NTFY_BIN} serve &
+		${NTFY_BIN} serve --listen-http 0.0.0.0:8003 &
 		echo $! >${NTFY_PID}
 		echo "done"
 		;;