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
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: