Redirect your cpanel/whm/webdisk/ in nginx

Now you can redirect, , and   without any issues in an nginx server.  You can add it to your current nginx configuration as follows,

# wget
# mv cpanelproxy.conf  /etc/cpnginx/

Now login to whm -> Plugins -> cPanel Nginx -> Advanced configuration editor  , and add the following line after the include line of



include “/etc/cpnginx/cpanelproxy.conf”;

Now restart nginx server  /etc/init.d/nginx restart

This fix will be available from the cpnginx version 2.1 .