Explorar el Código

[ntfy] Use port 8003

Colin Powell hace 3 años
padre
commit
5ae9423847
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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"
 		;;