ansible-nginx/doc/php.md

410 B

PHP

  • nginx_php5 and nginx_php7: boolean if you need to preconfigure PHP (default: false)
  • nginx_php_sockets: list of sockets (see bellow)

You should see Nginx upstream module doc.

Each socket have:

  • unix_socket
  • host
  • port
  • weight
  • max_fails
  • fail_timeout

With default configuration, it works fine with PHP-FPM.