TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: RAGNAROK
from: ECHICKEN
date: 2020-06-24 23:42:00
subject: Re: websocket error Bad c

  Re: Re: websocket error Bad certificate
  By: Ragnarok to Ragnarok on Thu Jun 25 2020 00:06:40

 >> i run nginx as webserver with letscrypt cert (using acme.sh as client)
 >> and

 Ra> fixed!

Glad you figured it out.

 Ra> i create a proxy url to the sbbs service at nginx:

 Ra> location /wstelnet {

 Ra> Options.WebSocketUrlPath = '/wstelnet';

My setup is similar, however I don't use a custom path.

I have nginx doing this:

server {
 listen 1124 ssl;
 ...
 location / {
  proxy_pass http://localhost:1123;
  ...
 }
}

And in modopts.ini -> [web] I set the 'wssp' key to 1124, which overrides the
port that fTelnet connects to for WSS.

My method is *slightly* simpler because it doesn't require alterations to
home.xjs and uses the config file instead, but your solution is equally valid.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
 þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.