CWP - Panel Not Opening. 2030 port forwarding to 2031

Started by phprazzi, April 11, 2019, 09:14:29 AM

Previous topic - Next topic

phprazzi

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




elciocastro

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.

Igor S.

Hi, or you can use the server hostname with Let's Encrypt SSL for login to CWP. ;)



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services