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?
http://wiki.nginx.org/Configuration

regards, mex

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,237099,237151#msg-237151

nice tutorial!

didnt you found anything approbiate here?
http://wiki.nginx.org/Configuration

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs