host];
$buffer = (string)$request;
$con = new AsyncTcpConnection("tcp://$host:443", ['ssl\r\n/", "Host: $host\r\n", $buffer);
$con->transport = 'ssl';
$connection->protocol =listen 80;
root /home/www/webman/public;
# 这个配置很重要
proxy_buffering off;
# https证书
listen 443 ssl;
ssl_certificate ssl/xxx.pem;
ssl_certificate_key ssl/xxx.key;
ssl_session_cache shared:le_nginx_SSL;
ssl_certificate ssl/xxx.pem;
ssl_certificate_key ssl/xxx.key;
ssl_session_cache shared:le_nginx_SSL