CyberHosting

How to remove 8090 port from my domain panel?

I follow this guide
https://blog.cyberpanel.net/2018/12/25/how-to-remove-port-8090-from-cyberpanel/
However, I do not know how to config the last step for OpenLiteSpeed
I put
REWRITERULE ^(.*)$ HTTP://xxtap/$1 [P]
in rewrite =rule but 502 404 error. Why?

Comments

  • Which part you don't understand exactly, as it clearly tells you how and which file you can edit to make it work. For example for OpenLiteSpeed

    Open command line and edit: /usr/local/lsws/conf/httpd_config.conf

    Paste following content:

    extprocessor cyberpanel {
    type proxy
    address https://switch.cyberpanel.net:8090
    maxConns 100
    pcKeepAliveTimeout 60
    initTimeout 60
    retryTimeout 0
    respBuffer 0
    }
  • Which part you don't understand exactly, as it clearly tells you how and which file you can edit to make it work. For example for OpenLiteSpeed

    Open command line and edit: /usr/local/lsws/conf/httpd_config.conf

    Paste following content:


    extprocessor cyberpanel {
    type proxy
    address https://switch.cyberpanel.net:8090
    maxConns 100
    pcKeepAliveTimeout 60
    initTimeout 60
    retryTimeout 0
    respBuffer 0
    }
    I change switch.cyberpanel.net to my subdomain, is that right?
  • I do not how to Use Rewrite Rules to Proxy to port 8090 exactly, I copied the rule, changed my subdomain in that rule, paste in rewrite rule section, but it still does not work
Sign In or Register to comment.
CyberHosting CyberPanel Discord

Howdy, Stranger!

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