Cyperpanel with Client access

Tested your rewrite rules.
That redirect to https is messing it.

Change them into this:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.) https://%{SERVER_NAME}/$1 [R,L]
RewriteRule ^(.*)$ HTTP://cyberpanel/$1 [P]

And then:
systemctl restart lsws

1 Like