fix(api): align Phoenix stack with hub/NPM deploy (TLS edge, graphql-ws)

- tls-config: allow production HTTP when TERMINATE_TLS_AT_EDGE=1 (matches CT 7800)
- websocket: disable perMessageDeflate on graphql-ws server (RSV1 / proxy compatibility)
- server: remove unused @fastify/websocket (standalone ws + graphql-ws only)
- package: drop @fastify/websocket dependency; refresh lockfile
- .env.example: document HOST and TERMINATE_TLS_AT_EDGE for nginx-terminated TLS

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-13 21:45:02 -07:00
parent 9bec73b3f0
commit 73a7b9fc15
6 changed files with 7 additions and 44 deletions
-1
View File
@@ -24,7 +24,6 @@
"dependencies": {
"@apollo/server": "^4.9.5",
"@as-integrations/fastify": "^1.1.0",
"@fastify/websocket": "^10.0.1",
"@kubernetes/client-node": "^0.20.0",
"bcryptjs": "^2.4.3",
"dotenv": "^16.3.1",