Go Back   cPanel Forums > Advertising Forums > Apps and Plugins for cPanel

Reply
 
LinkBack Thread Tools Display Modes
  #46 (permalink)  
Old 06-01-2009, 01:39 AM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
Quote:
Originally Posted by bhanuprasad1981 View Post
lat time we had it installed on our server load surely came down but all vb sites messed up as every one visitorw as getting server ip as registration ip is this solved in the latest version ? i was thinking to get this installed on my new server not VBulletin but file mirroring site :- mirrorcreator.com" where files are remotely uploaded to different file hosting servers in that script status.php is consuming lot of ram can this help ?


EDIT:- was just googling and found a site which say about this issue :-


when nginx is used as a reverse proxy to Apache, the visitors' IPs received by Apache are wrong - all requests to Apache come from nginx, so the main server IP will be logged.
To make Apache log the real IPs of the visitors instead of the main server IP, a special Apache module (mod_rpaf) is needed.


so wasn't it installed at my time or is not installed any time ?
First of all about mod_rpaf - we have been installing it since the beginning. Apache log proper IPs. The only issue with badly written scripts (I wonder why vB such a script!) which blindly use REMOTE_ADDRESS variable to use it as remote IP without looking at extra variables like X_REAL_IP.

Now back to status.php script - if it may quickly send response to Nginx, then it will save your RAM because script will be ready to serve new requests while Nginx serve so-called slow clients. With standalone Apache script stays in RAM during the session.

You may give Nginx a try, if it won't work for you, we will properly uninstall it and refund the payment. Risk free!
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 06-05-2009, 04:31 AM
Registered User
 
Join Date: Aug 2008
Posts: 13
bhanuprasad1981 is on a distinguished road
Cool

ok i got it installed but just for one day , surely it reduced load but too bad that it doesn't support upload progress bar , i have file mirroring site and users are getting confused to see error no upload status , hope this issue gets fixed soon in newer versions of Nginx so i can reinstall it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 06-17-2009, 12:30 AM
Registered User
 
Join Date: Feb 2009
Posts: 15
whmphp is on a distinguished road
.htaccess supported ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 06-17-2009, 12:33 AM
Registered User
 
Join Date: Feb 2009
Posts: 15
whmphp is on a distinguished road
I would like to also ask , do we need to update ngnix config file each time when we add a domain using whm ?

Or you will edit cpanel's account creation script and add codes for automatic update ? In that case, what if cpanel updates itself ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 06-17-2009, 12:34 AM
Registered User
 
Join Date: Feb 2009
Posts: 15
whmphp is on a distinguished road
Also, can I install it on LxAdmin using Apache ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #51 (permalink)  
Old 07-20-2009, 07:06 AM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
We updated our internal scripts to Nginx 0.8.5 with custom patchset. Contact us if you'd like to schedule install. There are some free slots available.
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #52 (permalink)  
Old 08-08-2009, 12:04 PM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
We have available install slots for Sunday. We install 5.8.7 version with custom patchset. Contact us to schedule your install today! We also provide management services so feel free to let us know your needs and get a quote.
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #53 (permalink)  
Old 09-16-2009, 11:20 PM
Registered User
 
Join Date: Sep 2009
Posts: 6
ryan1414 is on a distinguished road
Question

Howcome you only configure nginx to serve static content? What about dynamic content?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #54 (permalink)  
Old 09-17-2009, 02:06 AM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
Nginx configured to:
1) Serve static files for domain if files are exist on disk;
2) If not, request passed to backend (Apache);
3) If domain not exists in Nginx config all requests passed to backend.

To conclude you shouldn't miss requests having Nginx installed in front of your Apache.
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #55 (permalink)  
Old 09-17-2009, 03:12 AM
Registered User
 
Join Date: May 2003
Posts: 591
goodmove is on a distinguished road
Quote:
Originally Posted by ispro View Post
Nginx configured to:
1) Serve static files for domain if files are exist on disk;
2) If not, request passed to backend (Apache);
3) If domain not exists in Nginx config all requests passed to backend.

To conclude you shouldn't miss requests having Nginx installed in front of your Apache.
Is "you shouldn't miss requests" equals to: "you will not miss any requests, static or otherwise, 100% guaranteed"?

What exactly constitutes static files? Are PHP, JSP, ASP files without database connections considered as static or dynamic?

Also, is it more efficient to have 2 physical servers, one setup to serve only ngnix and one with just apache installed, than having 1 physical server with both systems on it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #56 (permalink)  
Old 09-17-2009, 04:37 AM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
Quote:
Is "you shouldn't miss requests" equals to: "you will not miss any requests, static or otherwise, 100% guaranteed"?
Perhaps, 99,99%, not 100% - additional layer can't improve reliability in perfect (!) world and add some overhead.

But in real world you may get, say 99,98% with Nginx+Apache and 99,5% with Apache just because you will eat lesser RAM with Nginx. Btw, that's why we process static files via Nginx - these files delivery doesn't depend on Apache functionality.

Quote:
What exactly constitutes static files? Are PHP, JSP, ASP files without database connections considered as static or dynamic?
Here is the current list:
css|xml|rss|gif|jpg|jpeg|js|atom|mml|txt|jad|wml|h tc|png|tif|tiff|wbmp|ico|jng|bmp|svg|pdf

PHP, html, etc. files considered dynamic as they may have directives inside, etc. It may be fine-tuned for specific hosts, especially when you know your site very well.

Quote:
Also, is it more efficient to have 2 physical servers, one setup to serve only ngnix and one with just apache installed, than having 1 physical server with both systems on it?
It depends on your usage. Having dedicated Nginx/HAProxy server is nice idea when you have at least 2 backend servers. Otherwise it has little sense and you better to have Nginx on the same server to speed up internal communications.
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #57 (permalink)  
Old 09-17-2009, 10:44 PM
Registered User
 
Join Date: Sep 2009
Posts: 6
ryan1414 is on a distinguished road
so can you configure nginx so it serves dynamic files(PHP,html etc) too without using Apache?

Quote:
Originally Posted by ispro View Post
Perhaps, 99,99%, not 100% - additional layer can't improve reliability in perfect (!) world and add some overhead.

But in real world you may get, say 99,98% with Nginx+Apache and 99,5% with Apache just because you will eat lesser RAM with Nginx. Btw, that's why we process static files via Nginx - these files delivery doesn't depend on Apache functionality.



Here is the current list:
css|xml|rss|gif|jpg|jpeg|js|atom|mml|txt|jad|wml|h tc|png|tif|tiff|wbmp|ico|jng|bmp|svg|pdf

PHP, html, etc. files considered dynamic as they may have directives inside, etc. It may be fine-tuned for specific hosts, especially when you know your site very well.



It depends on your usage. Having dedicated Nginx/HAProxy server is nice idea when you have at least 2 backend servers. Otherwise it has little sense and you better to have Nginx on the same server to speed up internal communications.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #58 (permalink)  
Old 09-18-2009, 11:49 PM
cpanelchrish's Avatar
Registered User
 
Join Date: Jun 2009
Posts: 24
cpanelchrish is on a distinguished road
Just an FYI for anyone who isn't keeping this updated on their systems

CVE - CVE-2009-2629 (under review)
National Vulnerability Database (NVD) National Vulnerability Database (CVE-2009-2629)

Came across this browsing some other linux forums I frequent, thought it'd be worth sharing. If this bug gets confirmed, will be a nasty one. Right now it's still in the research phase, yet to be completely signed off on

Code:
Vulnerable: < 0.7.62 
Unaffected: >= 0.5.38 < 0.5.39 
Unaffected: >= 0.6.39 < 0.6.40 
Unaffected: >= 0.7.62 
Architectures: All supported architectures
Patch/update if you haven't already!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #59 (permalink)  
Old 10-29-2009, 11:38 AM
Registered User
 
Join Date: Nov 2002
Posts: 27
shadowspid
I need this installed on my new server.

can someone please contact me.
i tried writing but no response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #60 (permalink)  
Old 10-30-2009, 12:55 PM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
Quote:
Originally Posted by shadowspid View Post
can someone please contact me.
i tried writing but no response.
Please, send your questions to admin@sultanhost.com and I will let you know how to proceed.

Thank you!
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
apache , busy , forums , nginx , static

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:52 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc