5

I have an application that uses WebSocket on port 8080. wss://aws1.orotechnologies.com.au:8080

The application is running inside a Docker container. Nginx is the web server. All HTTP is redirected to HTTPS.

sudo docker ps
 0.0.0.0:80->80/tcp, 
 0.0.0.0:443->443/tcp, 
 0.0.0.0:3088->3088/tcp, 
 0.0.0.0:8080->8080/tcp 

How do I configure Nginx to serve WebSocket connections?

I did read these materials. But I am still not sure how to configure Nginx. My port 8080 is already used. Should I change the docker port settings and have a Nginx server to listen on 8080?

tgogos
  • 23,218
  • 20
  • 96
  • 128
Jake He
  • 2,417
  • 3
  • 29
  • 41

0 Answers0