In this release we have extended the functionality of the (currently BETA) hypernode-api to include some more app-level settings. Note that because the API is still currently under active development the exposed capabilities and naming are still subject to change. Last week we made it possible for API users to enable OpenVPN. In a similar fashion it is now possible to enable Varnish Edge Side Includes over HTTPS, the ionCube extension for PHP (which is disabled by default), use a strict SSH cipher suite, and set the sendmail return-path. We also removed the initial_magento_version
which was previously exposed because that setting is not relevant after initial provisioning and has no use being exposed through the API.
For more information about these settings check out the settings section of the hypernode-api documentation. Currently the configurable settings in the API are:
app@er59a1-vdloo-magweb-cmbl:~$ hypernode-systemctl settings --help usage: hypernode-systemctl settings php_version --value 7.1 The possible values are: enable_ioncube ['True', 'False'] password_auth ['True', 'False'] blackfire_enabled ['True', 'False'] blackfire_server_token string blackfire_server_id string modern_ssh_config_enabled ['True', 'False'] mysql_tmp_on_data_enabled ['True', 'False'] openvpn_enabled ['True', 'False'] redis_persistent_instance ['True', 'False'] modern_ssl_config_enabled ['True', 'False'] varnish_esi_ignore_https_enabled ['True', 'False'] disable_optimizer_switch ['True', 'False'] override_sendmail_return_path string php_version ['5.5', '5.6', '7.0', '7.1', '7.2'] firewall_block_ftp_enabled ['True', 'False']
From any Hypernode you can configure these using the hypernode-systemctl
commandline tool like so:
$ hypernode-systemctl settings override_sendmail_return_path override_sendmail_return_path is set to value return_path1@example.com $ hypernode-systemctl settings override_sendmail_return_path --value return_path2@example.com Operation was successful and is being processed. Please allow a few minutes for the settings to be applied.