Mattermost instance just only one domain, but Nginx reverse proxy server has multi domain with virtual host.
"AllowCorsFrom": "" -> websocket does not work (client 403 error), mattermost instance (websocket connect err: websocket: origin not allowed code=500
"AllowCorsFrom": "domain.com" -> same to “”, websocket does not work (client 403 error), mattermost instance (websocket connect err: websocket: origin not allowed code=500
Thanks @mouson for your patience as we try to troubleshoot the issue,
Can you help take a look in the request headers of a request that doesn’t work when you set "AllowCorsFrom": "domain.com" and see what the browser sets?
As jasonblais has suggested above, it might be better if you join our daily build server where we can troubleshoot the issue? Once you’ve joined the team, you can join the Peer-to-peer Help channel by clicking on More... at the foot of the public channel list in the left-hand-side.