Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page
   Networked Database  Synchronet Multinode BBS Softwar...   [795 / 900] RSS
 From   To   Subject   Date/Time 
Message   Clifra    echicken   NGINX with Synchonet   June 26, 2019
 1:04 PM *  

>   Re: NGINX with Synchonet
>   By: Clifra to All on Tue Jun 25 2019 13:56:13

> Here's the relevant part of mine, for what it's worth:

> location / {
>   proxy_pass http://localhost:8080;
>   proxy_read_timeout 90;
>   proxy_http_version 1.1;
>   proxy_set_header Upgrade $http_upgrade;
>   proxy_set_header Connection 'upgrade';
>   proxy_set_header Host $host;
>   proxy_cache_bypass $http_upgrade;
>   proxy_set_header X-Real-IP $remote_addr;
>   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>   proxy_set_header X-Forwarded-Proto $scheme;
> }

> Works for me.

> It's pretty much the same as the above, but in its own server block and with
> different ports:

> server {
>   listen 1124 ssl;
>   server_name your.server.name;
>   ... various ssl things ...
>   location / {
>     proxy_pass http://localhost:1123;
>     ... the same proxy_* options as above
>   }
> }

> In the above case, I have port 1124 open to the outside, and that's what
> fTelnet connects to.  Meanwhile my websocket server is listening on port 1123
> (which does not need to be open externally).  Nginx forwards stuff from 1124
> to 1123.

> ---
> echicken
> electronic chicken bbs - bbs.electronicchicken.com
>  � Synchronet � electronic chicken bbs - bbs.electronicchicken.com



Ok, using you example this fixed the logon problem so that is working fine now.
I still am having no luck with fTelnet.

In the [web] section of modopts.ini I have this set.
websocket_telnet_port = 1123 
websocket_rlogin_port = 1514

I kept 1123 as that is set on my firewall

in services.ini I have this set.
[WS]
Port=1124
Options=NO_HOST_LOOKUP
Command=websocketservice.js


So 1123 should be forwarded to 1124 based on this:
server {
    listen 1123 ssl;
   ...ssl and proxy settings...
    location / {
      proxy_pass http://localhost:1124/;

   }


Clifra Jones 
Sysop, Days of Old BBS 
Hostname: daysofoldbbs.wilhartsolutions.com 
Protocols: Telnet, SSH (2222), HTTP

---
 ■ Synchronet ■ Days of Old BBS Telnet/SSH(2222)/Web
daysofoldbbs.wilhartsolutions.com
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0797 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_jcvvbo8qte1oqeg4c21h9tj4f0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_jcvvbo8qte1oqeg4c21h9tj4f0, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_jcvvbo8qte1oqeg4c21h9tj4f0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0