Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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!";
}
}
}