Commit e918bcc8 authored by anarcat's avatar anarcat

make sure we can verify servers directly, closes #2000038

this was working only through the frontend because the server
verification was triggering verification for all platforms on the
server, which would only then create the missing configuration file.

now we generate the include file within the server context, where we
parent d0239b1f
......@@ -11,7 +11,7 @@ class Provision_Service_http_nginx extends Provision_Service_http_public {
function init_server() {
$this->configs['server'][] = 'Provision_Config_Nginx_Server';
$this->configs['platform'][] = 'Provision_Config_Nginx_Inc_Server';
$this->configs['server'][] = 'Provision_Config_Nginx_Inc_Server';
$this->configs['site'][] = 'Provision_Config_Nginx_Site';
$this->server->setProperty('nginx_config_mode', 'extended');
$this->server->setProperty('nginx_is_modern', FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment