• Re: Nitrons TradeWars Rise of the Heirarchy MOD

    From Tracker1@21:3/149 to claw on Tuesday, April 25, 2023 19:46:22
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88 |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808

    Probably worth setting up an HTTP(S) reverse proxy for this... I use caddy myself but nginx, traefik and others can work to...

    This way you can have HTTP(S) on a standard port, and have say bbs.noverdu.com point to your 808 site and radio.noverdu.com point to the radio stream.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)
  • From claw@21:1/210 to Tracker1 on Wednesday, April 26, 2023 07:47:22
    On 25 Apr 2023, Tracker1 said the following...
    Probably worth setting up an HTTP(S) reverse proxy for this... I use
    caddy myself but nginx, traefik and others can work to...

    This way you can have HTTP(S) on a standard port, and have say bbs.noverdu.com point to your 808 site and radio.noverdu.com point to
    the radio stream.

    Michael J. Ryan

    I learned about this after making everything and don't know enough about it to know how bad it would be to get everything setup. I would love to get things adjusted to work like that

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Tracker1@21:3/149 to claw on Thursday, April 27, 2023 20:52:26
    This way you can have HTTP(S) on a standard port, and have say
    bbs.noverdu.com point to your 808 site and radio.noverdu.com point
    to the radio stream.

    I learned about this after making everything and don't know enough about it to know how bad it would be to get everything setup. I would love to get things adjusted to work like that

    https://caddyserver.com/docs/install

    The configuration is pretty simple, you edit /etc/caddy/Caddyfile after the install... Would be something like the following...

    {
    # for tls cert registration
    email you@yourdomain.com
    }

    :80 {
    # for bare connections on port 80
    redir * https://yourdomain.com/
    }

    www.yourdomain.com {
    # remove the www, bare domain
    redir * https://yourdomain.com/
    }

    yourdomain.com {
    # serve file directory
    root * /path/to/www-root
    }

    radio.yourdomain.com {
    # relay to your underlying radio service
    reverse_proxy * http://your-internal-server:808
    }


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)
  • From claw@21:1/210 to Tracker1 on Friday, April 28, 2023 07:29:38
    On 27 Apr 2023, Tracker1 said the following...
    https://caddyserver.com/docs/install

    The configuration is pretty simple, you edit /etc/caddy/Caddyfile after the install... Would be something like the following...

    {
    # for tls cert registration
    email you@yourdomain.com
    }

    :80 {
    # for bare connections on port 80
    redir * https://yourdomain.com/
    }

    www.yourdomain.com {
    # remove the www, bare domain
    redir * https://yourdomain.com/
    }

    yourdomain.com {
    # serve file directory
    root * /path/to/www-root
    }

    radio.yourdomain.com {
    # relay to your underlying radio service
    reverse_proxy * http://your-internal-server:808
    }

    Michael J. Ryan

    That doesn't look too bad. I might have a new server project to get on. Does it have to all be https:// or can I have a mix of them. For instance since the radio doesn't need https:// I didn't set that up for it. If you choose to spy on a broadcast that is already mean for mass listening... Well you won't be getting anyhting more than you already could with less effort.

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Tracker1@21:3/149 to claw on Tuesday, May 02, 2023 00:44:54
    https://caddyserver.com/docs/install

    The configuration is pretty simple, you edit /etc/caddy/Caddyfile
    after the install... Would be something like the following...

    That doesn't look too bad. I might have a new server project to get on. Does it have to all be https:// or can I have a mix of them. For instance since the radio doesn't need https:// I didn't set that up for it. If you choose to spy on a broadcast that is already mean for mass listening... Well you won't be getting anyhting more than you already could with less effort.

    You can do it with just http... you'd set the definition to:

    http://radio.foo.com { ...

    instead of just "foo.com" ... default does https redirects, but you can specify the protocol(s) separately. I have that configured for ipv4.bbs.land and ipv6.bbs.land so you can get your IP over http or https. Though, these days it's slightly better to just go https unless you're on really constrained hardware, most modern CPUs handle the HTTPs pretty transparently, and browsers give minor warnings when http only.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)