Best practice for directory and port redirect — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

Best practice for directory and port redirect

Hello Everyone,

I am really loving cyberpanel and the project in general. I am new to Linux based web servers and I wanted to see if anyone could point out some basics for how to handle traffic with CP. My specs below;

OS: Ubuntu 18.04
CyberPanel: 2.0 with OpenLiteSpeed 1.6.13
Self Hosted VM

I will like to pass on port 80 and 443 to Cyberpanel then,

I would like enforce all traffic to be https.

I would like to direct a domain to port 8090 (cyberpanel port) with the following url format;

https://domain.tld/panel/ (this directory should terminate to port 8090).

Also, I would like to forward url traffic to different docker containers as needed with a similar url directory format.

https://domain.tld/directoryname/ (this directory should terminate to assigned docker container port)

Any tips or suggestions would be greatly appreciated. Thanks in advance.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!