chore: add Zoraxy config notes for socket.io WebSocket

This commit is contained in:
root 2026-07-16 09:22:42 +00:00
parent 715d1a70f3
commit 3f46886310

View file

@ -1,6 +1,6 @@
# Service Factory — ERPNext Custom App Project
> **Current Version: V0.1.0008** — Each completed prompt/step increments the patch number by 1 (V0.1.0000 → V0.1.0001 → V0.1.0002…). The agent automatically commits and pushes after every step.
> **Current Version: V0.1.0009** — Each completed prompt/step increments the patch number by 1 (V0.1.0000 → V0.1.0001 → V0.1.0002…). The agent automatically commits and pushes after every step.
## Project Overview
@ -22,6 +22,7 @@
| **Port** | 8080 (web via nginx proxy, proxies web + SocketIO) |
| **Direct port** | 8000 (gunicorn direct — SocketIO won't work) |
| **Reverse proxy** | Nginx on ports 8000+8080 → gunicorn:8001 (web) + node:9000 (SocketIO) |
| **Zoraxy config** | WebSocket passthrough: **enabled** — Virtual directory: `/socket.io``http://172.16.8.20:9000/socket.io` |
| **Static assets** | `/assets/` served directly by nginx (bypasses gunicorn) — essential for correct MIME handling behind Zoraxy |
| **Process manager** | systemd (5 services managed via `frappe-bench.target`) |
| **Reverse proxy** | Zoraxy (unifies web + SocketIO on port 8080) |