See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
See Configuring NGINX to accept the PROXY Protocol - NGINX
upstream wsserver {
server 127.0.0.1:9000;
}
<?php | |
date_default_timezone_set('UTC'); | |
function out($msg) { | |
$now = date('Y-m-d H:i:s'); | |
echo "[{$now}] {$msg}\n"; | |
} |