Posted by yakovyarmo on June 5, 2011 at 5:08pm
Can anyone please explain or upload a brief tutorial on how to integrate apache with nginx as reverse proxy and still use boost and other apache module?
And what kind of cahce is better (boost or native nginx)?
(I saw a long thread about it but i kind of lost it to the end)
Comments
Well
You have to make nginx serve the static assets including the HTML generated pages by Boost. For the remaining you do a
proxy_passto an Apache backend.For a configuration check those listed at the top of the group. Most of them support Boost.
You should say if you're using drupal 6, pressflow or drupal 7.
I recommend you take a look at this thread to get a notion of what's involved in setting up Nginx as a reverse proxy to Apache.
That should give you something to start working.
Thank you. I am using drupal
Thank you.
I am using drupal 6. Are there any patches i need to apply to make it work?
To make it work while saving you trouble
yes. But as suggested in the thread I referred above you'll be much better using pressflow. Since it already does a lot of things for you like setting a bunch of cookies and headers. Since there's no migration to speak of when moving from D6 to pressflow: untar it and you're done, I don't see any compelling reason to stay with stock drupal.
Won't it break my site (it is
Won't it break my site (it is a production site)?
How can I check all the diffs ?
One if them is here
http://drupal.org/files/issues/my_unidiff.patch but you can always download both stock drupal and pressflow, extract them in different dirs and do:
diff -U -x "*.txt" <pressflow dir> <drupal dir>you're doing it wrong.
IMHO,
you're doing it wrong.
what apache-specific modules or whatever are keeping you using apache?
on a side note, i believe this question would be better answered in an Nginx forum, no?
--
Mike Nichols
My Own Soho, LLC
mike@myownsoho.net
www.myownsoho.com