Quote:
Originally Posted by k0nr4d
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.