user root; worker_processes {threads}; daemon off; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; # path of f-stack configuration file #{fstack_only}# fstack_conf f-stack.conf; events { worker_connections 102400; #{fstack_only}# use kqueue; multi_accept on; } http { default_type text/plain; sendfile off; keepalive_timeout 65; #gzip on; server { listen 80 backlog=4096; server_name localhost default_server; access_log off; gzip off; sendfile off; tcp_nopush off; tcp_nodelay off; location /plaintext { return 200 "Hello, world!"; } } }