Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: phprazzi on April 11, 2019, 09:14:29 AM
-
Centos Web Panel that I have used without problems for years has been directed to 2031 port and I cannot login to the system.
Look Image Please
(https://media.giphy.com/media/KDmqe76kokAH07w1me/giphy.gif)
-
Hi phprazzi,
I also had this problem yesterday and checked that the cwpsrv.conf file in the /usr/local/cwpsrv/conf folder has been updated and included the code below:
if ($server_port = 2030){
return 301 https://$host:2031$request_uri;
}
if ($server_port = 2086){
return 301 https://$host:2087$request_uri;
}
If you want it not to be redirected, you can comment on this code and run the script / scripts / reload_cwpsrv, but I advise you to keep this configuration and use an ssl certificate for security.
-
Hi, or you can use the server hostname with Let's Encrypt SSL for login to CWP. ;)