|
@ -142,7 +142,7 @@ class NginxVhostFactory |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
// add certificate
|
|
|
// add certificate
|
|
|
$builder->addItem('add certificate', function(CliMenu $menu) { |
|
|
|
|
|
|
|
|
$builder->addItem('add certificate', function(CliMenu $menu) use ($vhost) { |
|
|
$result = $menu->askText() |
|
|
$result = $menu->askText() |
|
|
->setPromptText('Enter E-Mail') |
|
|
->setPromptText('Enter E-Mail') |
|
|
->ask(); |
|
|
->ask(); |
|
|