Author Topic: Disable nginx for specific users  (Read 2216 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Disable nginx for specific users
« on: October 08, 2021, 01:00:21 PM »
Hi Team
I have been usin CWP for a while now and i love it. One thing i haven't see is the option to disable nginx for specific users/accounts. I have many customers who are moving out of cpanel to cwp and they would like this otion. Is there a way to hardcode it right now? are there any plans in the future to offer this option in the CWP pro version?


Offline
*
Re: Disable nginx for specific users
« Reply #1 on: October 08, 2021, 04:09:30 PM »
I do believe you selected the webserver configuration "Nginx & Apache" from the webserver solutions offered by CWP.

In this case NGINX can't be removed/disabled for some specific users completely because the option "Nginx & Apache" configures NGINX as reverse proxy. It means NGINX listens the ports 80 (http), 443 (https) and gets all HTTP/HTTPS requests. In case the request can't be handled by Nginx it goes to Apache.

In your case you can create some "dummy" nginx template for Nginx. It should just accept the HTTP/HTTPS requests and pass the requyests to Apache without any doubts. Then use "WebServers Domain Conf" to enable the created template for the specific domain/user.

Let us know if you need further assistance.