Subj : Re: Nitrons TradeWars Rise of the Heirarchy MOD
To   : claw
From : Tracker1
Date : Thu Apr 27 2023 08:52 pm

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

cl> I learned about this after making everything and don't know enough about
cl> it to know how bad it would be to get everything setup. I would love to
cl> 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 [email protected]
}

: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
[email protected]
--- SBBSecho 3.15-Linux
* Origin: Roughneck BBS - roughneckbbs.com (21:3/149)