Merge pull request #1354 from opnsense/ngx_xmlrpc

www/nginx: add xmlrpc support
This commit is contained in:
Fabian Franz BSc 2019-06-03 18:41:43 +02:00 committed by GitHub
commit c7f2608572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,7 @@ Plugin Changelog
1.13
* add support for 0-RTT (Early Data in TLS 1.3)
* add XMLRPC sync support
1.12

View File

@ -50,3 +50,16 @@ function nginx_services()
)
);
}
/**
* sync configuration via xmlrpc
* @return array
*/
function nginx_xmlrpc_sync()
{
$result = array();
$result['id'] = 'nginx';
$result['section'] = 'OPNsense.Nginx';
$result['description'] = gettext('Nginx Load Balancer');
return array($result);
}