We have a current, soon-to-be legacy PHP app installed in production, served with apache. Working fine.
Currently trying to add in new Node.js alpha stack, which we're planning to install alongside live framework for awhile to test (on a staging server, not production -- for now).
We're going to be using nginx as a frontend to node and a couple other services in the new environment. Also, need to continue serving old php app too for now -- through nginx (instead of apache).
Any real-world production tips in setting up nginx as an efficient reverse proxy for services like this? It seems so straightforward to me and seems to be working exactly as intended -- but I've been an apache guy forever so I just want to be sure I'm not overlooking anything security-wise, performance wise, etc.
Anything I should look out for when switching from the apache-backed PHP, to php-fpm, to serve an existing app? I've never used this flavor of php before, but it looks like the best way to do this through nginx. All of the obvious ini values ported over, but I still feel like I might be missing something.