chore: add Zoraxy config notes for socket.io WebSocket
This commit is contained in:
parent
715d1a70f3
commit
3f46886310
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Service Factory — ERPNext Custom App Project
|
# 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
|
## Project Overview
|
||||||
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
| **Port** | 8080 (web via nginx proxy, proxies web + SocketIO) |
|
| **Port** | 8080 (web via nginx proxy, proxies web + SocketIO) |
|
||||||
| **Direct port** | 8000 (gunicorn direct — SocketIO won't work) |
|
| **Direct port** | 8000 (gunicorn direct — SocketIO won't work) |
|
||||||
| **Reverse proxy** | Nginx on ports 8000+8080 → gunicorn:8001 (web) + node:9000 (SocketIO) |
|
| **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 |
|
| **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`) |
|
| **Process manager** | systemd (5 services managed via `frappe-bench.target`) |
|
||||||
| **Reverse proxy** | Zoraxy (unifies web + SocketIO on port 8080) |
|
| **Reverse proxy** | Zoraxy (unifies web + SocketIO on port 8080) |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue