mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Add secured command
This commit is contained in:
@@ -210,6 +210,17 @@
|
||||
info('The ['.$url.'] site will now serve traffic over HTTP.');
|
||||
})->descriptions('Stop serving the given domain over HTTPS and remove the trusted TLS certificate');
|
||||
|
||||
/**
|
||||
* Get all the current secured sites
|
||||
*/
|
||||
$app->command('secured', function () {
|
||||
$sites = collect(Site::secured())->map(function ($url) {
|
||||
return ['Site' => $url];
|
||||
});
|
||||
|
||||
table(['Site'], $sites->all());
|
||||
});
|
||||
|
||||
/**
|
||||
* Create an Nginx proxy config for the specified domain.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user