Using cyberpanel after changing default port

i wanted to login cyberpanel dashboard,without using the port

so i tried as like mentioned in this link

How to remove port 8090 from CyberPanel - #2 by lmilani - Blog Posts - CyberPanel Community

it worked.but after changing my default cyberpanel port from Eg 8090 to 3025

the webpage shows "503 Service Unavailable " error . when i switched back to 8090 port,it again worked.

i used this re-direct script

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
REWRITERULE ^(.*)$ http://cyberpanel/$1 [P]

so what to modify in this script after i changed cyberpanel default port to make it work ?