I have tried to convert the given nginx rule to openlitespeed rule. But it didn’t work,
Site is opening perfectly but I am getting this error Please check connection, Mattermost unreachable. If issue persists, ask administrator to [check WebSocket port]
upstream backend {
server {ip}:8065;
keepalive 32;
}
As I am wprking, On the IP:8065, Mattermost is running smoothly, but when I connect it with the subdomain, then showing error of " Please check connection, Mattermost unreachable. If issue persists, ask administrator to [check WebSocket port]."
Also I have Added added the “Web Socket Proxy” But I think there is error in web socket proxy.
Thanks for posting this and sorry for not following up on that topic yesterday, got busy at work.
I’ve not much experience with OLS so far, but all those context / lines can probably be put into just one. According to some documentation I found it looks like you can just specify multiple headers line by line in the same context.
Also, according to this documentation the websocket regex could be carried over, too, because it’s not just /api, but a more specific subset of this URL:
I am using hit and trial, that’t why it generated multiple context file.
Yes, Your given solution merge all contexts.
Earlier I am trying this method, I am getting the error, So I go with one-by-one testing and found the solution.