Websocket connection works on localhost, but get 403 error when deployed via docker

Hi, I was having this problem and your answer worked. I had to change it in user_socket.ex and prod.exs.