protected function Provision_Service_Certificate_LetsEncrypt::getConfigFile in Aegir HTTPS 7.3
Fetches the configuration file for specified environment.
@todo: If we ever need more granular control, we can generate the config file instead.
Parameters
string $environment: Either 'staging' or 'production'.
1 call to Provision_Service_Certificate_LetsEncrypt::getConfigFile()
- Provision_Service_Certificate_LetsEncrypt::generate_certificates in submodules/
letsencrypt/ drush/ Provision/ Service/ Certificate/ LetsEncrypt.php - Generate a self-signed certificate for the provided key.
File
- submodules/
letsencrypt/ drush/ Provision/ Service/ Certificate/ LetsEncrypt.php, line 152
Class
- Provision_Service_Certificate_LetsEncrypt
- A LetsEncrypt implementation of the Certificate service type.
Code
protected function getConfigFile($environment) {
if ($environment == 'production') {
return 'config';
}
return 'config.staging';
}