C

cfe-nginx-php-fpm

Cookbook to simplify deployment of Nginx, PHP-FPM, and some other commonly-used software to new servers at Chromedia.

Public
c0d17f0c Test gitlab 2 · by Earth U

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_php, webserver_basic, and webserver_ws).

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']['php-fpm']['exts'] Array PHP extension packages to be installed. Without the "php5-" or "php-" prefix. Use `override` to customize attribute. ['mysqlnd', 'cli', 'curl']
['cfe-nginx-php-fpm']['php-fpm']['version'] String PHP version. Can only be either '5.5' (the default) or '5.6'. '5.5'
['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. ()