Since websocket support for non-SSL ports works right out of the box, you're going to need a new listen block for non-SSL connections from websocket users. I used port 8080 in my case, but you can really use as many as you want.
Example config blocks:
Code: Select all
listen {
ip *;
port 8080;
options {
clientsonly;
};
};
websocket_restrict {
port 8080;
//port 8443; // If you have an SSL listen block too
zlinetime 60;
channels {
"#chan1"; // Don't forget the "" to make sure Unreal doesn't interpret it as a comment ;]
"#moar";
};
};
The channels list is optional; if omitted there will be no channel restrictions, otherwise they can only join the specified ones. They also only apply to websocket users, so regular clients can join their channels too.
I may (will probs) add more possibilities for restrictions at some point. =]
Get it here.