nginx and php-fpm notes2014-05-04
These are a few points that I put as a reminder to myself.
- If you host multiple sites, only one of them (default) should have
listen 80directive. The rest are defined by
- Debian's default configuration file comes with Unix socket
php-fpm. Nginx needs to connect via TCP port, it should be changed to port directives.