I'm setting up a Django server with Apache + mod___wsgi and nginx as a static media server.
Which server should I put in front of the other? Apache using mod___proxy or nginx? I've heard different people say different things.
From what I understand, putting nginx in front is slightly faster, but I lose the ability to use .htaccess files and mod_rewrites. It's also slightly more complex to set up.
Is this correct? Lets discuss :-)
I've heard that the proxying taking place in either apache or nginx is so cheap, it really doesn't matter which server does it. That apache doesn't "waste" any resources until proxying is done. I'm really trying to get my head around this stuff, I'm really a coder :P