Open raghuveer opened 2 years ago
Hi,
can we run nginx to serve ssl offloading & reverse proxy purpose running on port 443 and run http server and websocket server triggering code with workerman
1) in different folder structure & URI on the same port like 3000?
http server: https://example.com:3000 websocket server: https://example/ws/:3000 (sub-folder scenario) https://ws.example.com/:3000 (sub-domain scenario though)
2) in same folder structure & URI on different ports like 3000 for http server and 3001 for websocket server kind of?
http server: https://example.com:3000 websocket server: https://example:3001
Hope both are possible?
Yes both are possible
thank you for your confirmation
Hi,
can we run nginx to serve ssl offloading & reverse proxy purpose running on port 443 and run http server and websocket server triggering code with workerman
1) in different folder structure & URI on the same port like 3000?
http server: https://example.com:3000 websocket server: https://example/ws/:3000 (sub-folder scenario) https://ws.example.com/:3000 (sub-domain scenario though)
2) in same folder structure & URI on different ports like 3000 for http server and 3001 for websocket server kind of?
http server: https://example.com:3000 websocket server: https://example:3001
Hope both are possible?