@ridge, feel free to modify this, ssl.conf and proxy.conf are part of linuxserver.io's letsencrypt nginx server, but it should run fine without them, the key thing is the /websockify connection upgrade.
upstream soulseek {
server 192.168.1.100:6080;
}
server {
server_name _;
listen 80;
return 301 https://$host$request_uri;
}
server {
server_name _;
listen 443 ssl;
access_log /config/log/nginx/soulseek_access.log;
error_log /config/log/nginx/soulseek_error.log;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
proxy_pass http://soulseek/;
}
location /websockify {
include /config/nginx/proxy.conf;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://soulseek/;
}
}