README.md 1.3 KB

cfe-nginx-php-fpm-cookbook

Installs PHP5-FPM, Nginx, Postfix, and MariaDB client on a server. Also sets up webserver configs for all virtual servers, including TLS and basic auth.

Can also auto-generate config files for certain site types, such as Wordpress, etc. (right now it's: wordpress, basic, and webserver).

Supported Platforms

Ubuntu 14.04

Attributes

Key Type Description Default
['cfe-nginx-php-fpm']['postfix']['email_domain'] String Email domain to be used by Postfix. ''
['cfe-nginx-php-fpm']['openssl']['dh_modulus'] Integer Used if at least one virtual site uses TLS. 4096
['cfe-nginx-php-fpm']['nginx']['sites'] Array/Hash Values that define the virtual servers to be hosted by Nginx. (see default attribute file)

Usage

cfe-nginx-php-fpm::default

Include cfe-nginx-php-fpm in your node's run_list:

{
  "run_list": [
    "recipe[cfe-nginx-php-fpm]"
  ]
}

License and Authors

Author:: Earth U. ()