Issue has been resolved.by Belldandu - Other discussion
I followed the documentation and it still isnt properly proxying my websocket for xmpp. Upgrades always somehow result in nginx returning keep-alives and 502's instead of doing what its been told to do. For full discussion check out this issue which i started on ejabberd and have now brought here due to the fact that i beleive this is a bug in nginx now. https://github.com/processone/ejabberby Belldandu - Other discussion