function installConfiguration()
    {
        info('Installing nginx configuration...');

        $contents = $this->files->get(__DIR__.'/../stubs/nginx.conf');

        $this->files->putAsUser(
            static::NGINX_CONF,
            str_replace(['VALET_USER', 'VALET_HOME_PATH'], [user(), VALET_HOME_PATH], $contents)
        );
    }
function installConfiguration()
    {
        info('Installing nginx configuration...');

        $contents = $this->files->get(__DIR__.'/../stubs/nginx.conf');

        $this->files->putAsUser(
            static::NGINX_CONF,
            str_replace(['VALET_USER', 'VALET_HOME_PATH'], [user(), VALET_HOME_PATH], $contents)
        );
    }
function installConfiguration ( ) { info ( 'Installing nginx configuration...' ) ; $ contents = $ this -> files -> get ( __DIR__ . '/../stubs/nginx.conf' ) ; $ this -> files -> putAsUser ( static :: NGINX_CONF , str_replace ( [ 'VALET_USER' , 'VALET_HOME_PATH' ] , [ user ( ) , VALET_HOME_PATH ] , $ contents ) ) ; }
Install the Nginx configuration file.

@return void
Install the Nginx configuration file .