mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Adding ability to create unsecure proxy.
This commit is contained in:
@@ -183,9 +183,9 @@
|
||||
/**
|
||||
* Create an Nginx proxy config for the specified domain
|
||||
*/
|
||||
$app->command('proxy domain host', function ($domain, $host) {
|
||||
$app->command('proxy domain host [--unsecure]', function ($domain, $host, $unsecure) {
|
||||
|
||||
Site::proxyCreate($domain, $host);
|
||||
Site::proxyCreate($domain, $host, $unsecure);
|
||||
Nginx::restart();
|
||||
|
||||
})->descriptions('Create an Nginx proxy site for the specified host. Useful for docker, mailhog etc.');
|
||||
|
||||
Reference in New Issue
Block a user