function Provision_Service_http_https_nginx::init_server in Aegir HTTPS 7.3
Initialize the configuration files.
These config classes are a mix of the HTTPS and Non-HTTPS nginx classes. In some cases they extend the Nginx classes too.
Overrides Provision_Service_http_https::init_server
File
- submodules/
nginx_https/ drush/ Provision/ Service/ http/ https/ nginx.php, line 35
Class
- Provision_Service_http_https_nginx
- Nginx HTTPS service class.
Code
function init_server() {
parent::init_server();
// Replace the server config with our own. See the class for more info.
$this->configs['server'][] = 'Provision_Config_Nginx_Https_Server';
$this->configs['server'][] = 'Provision_Config_Nginx_Inc_Server';
$this->configs['site'][] = 'Provision_Config_Nginx_Https_Site';
$this->server
->setProperty('nginx_config_mode', 'extended');
$this->server
->setProperty('nginx_is_modern', FALSE);
$this->server
->setProperty('nginx_has_http2', FALSE);
$this->server
->setProperty('nginx_has_gzip', FALSE);
$this->server
->setProperty('nginx_has_upload_progress', FALSE);
$this->server
->setProperty('provision_db_cloaking', TRUE);
$this->server
->setProperty('phpfpm_mode', 'port');
$this->server
->setProperty('satellite_mode', 'vanilla');
}