Page 1 of 2

Remove nginx on install

Posted: Fri Jan 10, 2014 7:35 pm
by heihachi88
Hello, it is possible to completely turn off nginx?

Re: Remove nginx on install

Posted: Sat Jan 11, 2014 8:13 pm
by inerd
Hi. If you remove nginx the control panel will not work. As the control panel is making full use of nginx

Re: Remove nginx on install

Posted: Tue Jan 14, 2014 5:54 am
by heihachi88
Why then it has an option to turn off nginx for some websites if its not working anyway? I have turned nginx off for some domains but then my website is not opening from port 80, i have to type domain.com:8080 (apache port). Usually apache is listening to a localhost not?

Re: Remove nginx on install

Posted: Tue Jan 14, 2014 11:03 am
by ahmiq
heihachi88 wrote:Why then it has an option to turn off nginx for some websites if its not working anyway? I have turned nginx off for some domains but then my website is not opening from port 80, i have to type domain.com:8080 (apache port). Usually apache is listening to a localhost not?
It is configured that way , Apache is listening on port 8080 and not on 80. Turning off just redirects traffic to that port , doesnt actually change the port

Re: Remove nginx on install

Posted: Tue Jan 14, 2014 6:02 pm
by heihachi88
Can i turn off nginx and set apache to a 80 port?

Re: Remove nginx on install

Posted: Tue Jan 14, 2014 6:40 pm
by nightstryke
Probably not, what's your beef with nginx anyways?

Re: Remove nginx on install

Posted: Wed Jan 15, 2014 4:00 am
by heihachi88
1. I cannot use .htaccess (set upload limits and php memory limits for each domain individually)
2. I cannot use PECL upload (because its just not working with nginx)

Re: Remove nginx on install

Posted: Wed Jan 15, 2014 4:47 am
by demian
heihachi88 wrote:1. I cannot use .htaccess (set upload limits and php memory limits for each domain individually)
2. I cannot use PECL upload (because its just not working with nginx)
1.this is strange, should be work. you can use the directive php_admin_value in httpd templates

2. pecl uploading extension does not work through a proxy and work only with php as native apache extension... but can install nginx module HttpUploadProgressModule to bypass restrictions

PS: remove nginx bad for performance

Re: Remove nginx on install

Posted: Wed Jan 15, 2014 4:59 am
by demian
inerd wrote:Hi. If you remove nginx the control panel will not work. As the control panel is making full use of nginx
This not right, control panel uses its own copy

Re: Remove nginx on install

Posted: Thu Jan 16, 2014 8:05 am
by heihachi88
So can i safely turn it off and set apache to port :80?