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)
|