Nginx for images (apache for pages)

I’m serving images and dynamic .html pages via apache on port 80. I’d
like to have nginx to serve the images. How can this be done since
both apache and nginx need to serve requests on port 80?

  • Grant

On Thu, 2013-03-07 at 12:49 -0800, Grant wrote:

I’m serving images and dynamic .html pages via apache on port 80. I’d
like to have nginx to serve the images. How can this be done since
both apache and nginx need to serve requests on port 80?

  • Grant

Set apache up as a proxy server for dynamic html behind the nginx
server.

(Or do like I do, and drop apache completely (: ).

Cheers,

Steve

I’m serving images and dynamic .html pages via apache on port 80. I’d
like to have nginx to serve the images. How can this be done since
both apache and nginx need to serve requests on port 80?

  • Grant

Set apache up as a proxy server for dynamic html behind the nginx
server.

Is there a good howto for this? Is it difficult when dealing with an
ecommerce site?

  • Grant

nice tutorial!

didnt you found anything approbiate here?

regards, mex

Posted at Nginx Forum:

nice tutorial!

didnt you found anything approbiate here?
Getting Started | NGINX

I tried some of those but nothing seemed to match my situation as
clearly as the one I used.

http://kbeezie.com/apache-with-nginx/

  • Grant

ecommerce site?

  • Grant

What a fine little server. This howto was perfect:

http://kbeezie.com/apache-with-nginx/

The ecommerce factor was a breeze. Slightly different SSL certificate
handling.

  • Grant