CyberPanel Litespeed with Rust server

I would like to use Litespeed and rust server together. Following points are reason for this.

  • Need to use Cyberpanel control panel because of its Web GUI features (email,security,cronjob etc.). It need litespeed server to run. Also litespeed need for some PHP code run because all SDK are not in rust language.
  • Rust server is fast and less memory usage. It is use for API and SSR.

I am wonder how to use both together. The problem is coming to the port 80 or, 8080. Please suggest me a best solution.

How to run both server as HTTP Server? Rust for API and SSR and Litespeed for cyberpanel run and some APIs run.