Posted on :: Tags: , , , ,

These are a few points I’ve noted down as a reminder to myself.

  • If you host multiple sites, only one of them (the default) should have the listen 80 directive with the default_server parameter. The rest are defined by their server_name directives.
  • Debian’s default configuration file comes with Unix socket definitions for php-fpm. If you prefer to have Nginx connect via a TCP port, you must update the configuration to use port directives.