now creating a valid config with ssl certificates
This commit is contained in:
@@ -9,12 +9,13 @@ export class NginxConfig {
|
||||
zones:NginxZone[] = [];
|
||||
cert:plugins.cert.Cert; // the Cert Instance from which the config gets its certificates
|
||||
isDeployed:boolean = false;
|
||||
constructor(optionsArg:plugins.cert.CertConstructorOptions){
|
||||
constructor(optionsArg:plugins.cert.ICertConstructorOptions){
|
||||
this.cert = new plugins.cert.Cert({
|
||||
cfEmail:optionsArg.cfEmail,
|
||||
cfKey:optionsArg.cfKey,
|
||||
sslDir:optionsArg.sslDir,
|
||||
gitOriginRepo:optionsArg.gitOriginRepo
|
||||
sslDir:paths.nginxCertBase,
|
||||
gitOriginRepo:optionsArg.gitOriginRepo,
|
||||
testMode:optionsArg.testMode
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user