CWP Redirecting to port 2031

nano /usr/local/cwpsrv/conf/cwpsrv.conf

There’s a 301 rule that’s redirecting to https


if ($server_port = 2030){
        
        return 301 https://$host:2031$request_uri;

}

if ($server_port = 2086){

        return 301 https://$host:2087$request_uri;

}

service nginx restart
All Tags


Leave a Reply

%d bloggers like this: