Forum: NGINX nginx for images (apache for pages)

Posted by Grant (Guest)
on 2013-03-07 21:50
(Received via mailing list)
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
Posted by Steve Holdoway (Guest)
on 2013-03-07 21:54
Attachment: smime.p7s (6,04 KB)
(Received via mailing list)
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
Posted by Grant (Guest)
on 2013-03-07 22:29
(Received via mailing list)
>> 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
Posted by Grant (Guest)
on 2013-03-08 07:33
(Received via mailing list)
> 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
Posted by mex (Guest)
on 2013-03-09 10:02
(Received via mailing list)
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
Posted by Grant (Guest)
on 2013-03-09 20:54
(Received via mailing list)
> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.