I’m transitioning from NPM to SWAG. Everything has bee working fine expect for my signaling server that is used as a HPB for Nextcloud Talk (I use the linuxserver image for Nextcloud).
I’ve been using this nextcloud-snap how-to when on NPM, and it worked. For SWAG, I understand that I have to set up the Websockets support in the conf file. This was done with a knob on the NPM GUI, but I do not know how to set it up directly in the conf file. It is true that I’m pretty bad in setting up those files in general, I would really appreciate a little help.
My conf file for now is pretty bare bone. Signal is listening on port 8181:
server {
listen :80;
listen [::]:80;
server_name signal.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app 192.168.1.10;
set $upstream_port 8181;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}