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 80 directive. The rest are defined by server_name directives.
  • Debian's default configuration file comes with Unix socket definitions for php-fpm. Nginx needs to connect via TCP port, it should be changed to port directives.