function drush_hook_provision_nginx_vhost_config

7.x-3.x provision.api.php drush_hook_provision_nginx_vhost_config($uri, $data)

Append Nginx configuration to site vhost configuration.

To use templating, return an include statement for the template.

The d() function is available to retrieve more information from the aegir context.

Parameters

$uri: URI for the site.

$data: Associative array of data from Provision_Config_Nginx_Site::data.

Return value

Lines to add to the configuration file.

See also

Provision_Config_Nginx_Site

File

./provision.api.php, line 172
Provision API

Code

function drush_hook_provision_nginx_vhost_config($uri, $data) {
}