三台服务器,一台fastapi的websocket服务接口,一台代理fastapi服务的nginx,一台代理上一个nginx,能穿透websocket吗?
环境:
- 三台服务器
1. 一台fastapi中有websocket接口的服务器:43.226.44.50
2. 一台代理上面1里面的fastapi服务的nginx:43.226.44.184
3. 一台代理上面2里面的nginx:43.226.47.22
fastapi服务的websocket
fromfastapiimportFastAPI,Request,HTTPException