function buildSecureNginxServer($url)
    {
        $path = $this->certificatesPath();

        return str_replace(
            ['VALET_HOME_PATH', 'VALET_SERVER_PATH', 'VALET_STATIC_PREFIX', 'VALET_SITE', 'VALET_CERT', 'VALET_KEY'],
            [VALET_HOME_PATH, VALET_SERVER_PATH, VALET_STATIC_PREFIX, $url, $path.'/'.$url.'.crt', $path.'/'.$url.'.key'],
            $this->files->get(__DIR__.'/../stubs/secure.valet.conf')
        );
    }
function buildSecureNginxServer($url)
    {
        $path = $this->certificatesPath();

        return str_replace(
            ['VALET_HOME_PATH', 'VALET_SERVER_PATH', 'VALET_STATIC_PREFIX', 'VALET_SITE', 'VALET_CERT', 'VALET_KEY'],
            [VALET_HOME_PATH, VALET_SERVER_PATH, VALET_STATIC_PREFIX, $url, $path.'/'.$url.'.crt', $path.'/'.$url.'.key'],
            $this->files->get(__DIR__.'/../stubs/secure.valet.conf')
        );
    }
function buildSecureNginxServer ( $ url ) { $ path = $ this -> certificatesPath ( ) ; return str_replace ( [ 'VALET_HOME_PATH' , 'VALET_SERVER_PATH' , 'VALET_STATIC_PREFIX' , 'VALET_SITE' , 'VALET_CERT' , 'VALET_KEY' ] , [ VALET_HOME_PATH , VALET_SERVER_PATH , VALET_STATIC_PREFIX , $ url , $ path . '/' . $ url . '.crt' , $ path . '/' . $ url . '.key' ] , $ this -> files -> get ( __DIR__ . '/../stubs/secure.valet.conf' ) ) ; }
Build the TLS secured Nginx server for the given URL.

@param  string  $url
@return string
Build the TLS secured Nginx server for the given URL .