P
# ( strace -s 256 -f nginx -c /root/nginx.conf -g "daemon off ; " ) 2>&1 | grep ^bind
bind(6, {sa_family=AF_INET, sin_port=htons(9000), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
Dummy config
user nobody nogroup;
worker_processes 1;
events {
worker_connections 1024;
}
http {
sendfile on;
keepalive_timeout 65;
server {
listen 9000 ;
server_name default ;
return 200 "OK";
}
}