I was having some issues as well with websocket. I edited /etc/nginx/conf.d/codius.conf using the instructions in
That didn't fix my problem at first, but I had edited it using Notepad in Filezilla, and Notepad puts everything on one line and you can't see if the code is formatted properly. I mean you can't have 2 lines of code on one line or something which is impossible to tell in Notepad.
Someone in Gitter taught me how to edit in shell, then I was able to separate the individual lines of code exactly how it's shown in the medium article and that did the trick. My codius host is working now. But to edit it in shell, I had to login into root in PuTTY then
then type i to insert and modify text
then ESC and type :x and press enter to save
I hope that helps.