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

Does anyone know how to set up Nginx alongside apache in PLESK 9.3. I want to serve my dynamic content from apache and the static content from Ningx.

I read that there is a new configuration setting in plesk 9.3 where you can do that, but i can't find an explanation on how to do so.

I run centos 5

Thank you guys

share|improve this question

1 Answer 1

up vote 1 down vote accepted

"Apache Port Change" chapter of "Advanced Administration Guide" from Plesk documentation should get you started.

It's not just a simple setting which can be enabled though - requires quite a bit to reconfigure/check.

update: it would help if you let us know what exactly is the problem now? which step are you stuck on?

  1. nginx installation
  2. changing HTTP/HTTPS ports which are generated by Plesk using websrvmng, i.e. moving Apache to the back-end - described in the document
  3. nginx configuration and setting up event handlers in Plesk - see examples in the document

this blog post might be useful as well, without part "3. Configuring Apache" - because this can now be done automatically in Plesk 9.3.

share|improve this answer
    
I read that there is a configuration in the documentation, but there is no explanation on how to do it. It would be silly to post the question without checking the documentation. –  Saif Bechan Mar 11 '10 at 15:53
    
sorry, but it was not clear from your question that you saw that document. I updated the answer. –  realaaa Mar 12 '10 at 1:58
    
I am stuck on the first part really. I don't know how to install nginx for PLESK. Or can i just follow a basic instalation tutorial. –  Saif Bechan Mar 14 '10 at 12:17
    
i don't think there is some special nginx for Plesk, so you should just use nginx RPMs for CentOS, I'm pretty sure they are available either from CentOS or from nginx –  realaaa Mar 18 '10 at 7:18
    
After i installed the RPMs, is there a service to start? And must this service run alongside Apache, or should i disable the apache server. –  Saif Bechan Mar 23 '10 at 5:08

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.