Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a WordPress website running on a Plesk 10.4 server and only this website on the server, and it started receiving huge traffic recently. How can I install nginx as a reverse proxy for the WordPress website?

Current config:

  • Centos 5
  • Plesk 10.4
  • PHP 5
  • MySQL
  • Apache2
share|improve this question

2 Answers 2

up vote 2 down vote accepted

Probably, the easiest way is to update the Plesk panel. Plesk 11 supports nginx by default. And you will be able to enable it by pushing a button.

share|improve this answer

If you're getting traffic spikes on a WordPress website, switching to nginx is probably not the first thing you should do.

The first thing to do is to install some WordPress-specific caching mechanism. My favorite is the W3 Total Cache plugin. This will help you by creating static cached pages of your site which Apache can serve much faster to anyone who isn't a logged in WordPress user.

It also has a lot more features, including memcached support, database and object caching support, CDN support, and many other potentially confusing things, but you don't have to set those up immediately. Just doing the static page caching will help a lot if you aren't already doing it.

If you're already caching as much as you can through solutions like this, then it might be appropriate to consider switching to nginx, upgrading your server, etc.

share|improve this answer
    
I'm already using W3 Total Cache and have PHP APC installed on the server –  Hamza Jul 19 '12 at 2:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.