How to configure Elixir, NGINX, Websockets on server
问题 I'm setting up a server with a Phoenix app that will use websockets. Locally websocket work but I have problems with setting it up on my staging server. Can someone help me with setting up websockets on my server. I have nginx configured like this: map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream my_app { server 0.0.0.0:6443; } server { listen 80; listen 443; server_name example.com; ssl on; ssl_certificate /path/to/wildcard.crt; ssl_certificate_key /path/to