View Single Post
Old 11-23-2012, 10:58 AM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by k0nr4d View Post
You setup nginx to respond to js, css, flv, jpg, gif, mp4, etc and pass through everything else to apache. Same sort of idea as using nginx to host just the thumbs but this also serves the pieces of your layout like the css and images from that via nginx. Give's you the best of both worlds...
Right that's what I was thinking, though I'd do it the other way round - set up nginx as "static.dom.com" and implicitly call all static content from the HTML. That way the nginx proxy process isn't waiting until apache has completed the response in the passthru situation you described.
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote