2021-12-23 00:13:15 +00:00
|
|
|
|
|
|
|
|
2021-12-23 14:52:24 +00:00
|
|
|
master_process off;
|
|
|
|
worker_processes 0;
|
2021-12-23 09:42:56 +00:00
|
|
|
worker_rlimit_nofile 131072;
|
|
|
|
|
|
|
|
events {
|
|
|
|
use epoll;
|
|
|
|
worker_connections 16640;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-12-23 00:13:15 +00:00
|
|
|
http {
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
2021-12-23 10:09:34 +00:00
|
|
|
listen 127.9.185.194:8080 bind reuseport deferred backlog=65536;
|
2021-12-23 00:13:15 +00:00
|
|
|
|
2021-12-23 09:42:56 +00:00
|
|
|
keepalive_disable none;
|
2021-12-23 00:13:15 +00:00
|
|
|
keepalive_requests 262144;
|
|
|
|
keepalive_timeout 60s;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
|
|
|
limit_except GET HEAD {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
|
|
|
|
default_type "text/plain; charset=utf-8";
|
|
|
|
add_header "Content-Encoding" "identity";
|
|
|
|
add_header "Cache-Control" "no-store, max-age=0";
|
|
|
|
return 200 "hello world!\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
error_log /dev/stderr notice;
|
|
|
|
access_log off;
|
2021-12-23 09:42:56 +00:00
|
|
|
log_not_found off;
|
|
|
|
|
|
|
|
root /var/lib/empty;
|
2021-12-23 00:13:15 +00:00
|
|
|
|
|
|
|
client_body_temp_path /var/lib/empty;
|
|
|
|
proxy_temp_path /var/lib/empty;
|
|
|
|
fastcgi_temp_path /var/lib/empty;
|
|
|
|
uwsgi_temp_path /var/lib/empty;
|
|
|
|
scgi_temp_path /var/lib/empty;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
working_directory /var/lib/empty;
|
|
|
|
error_log /dev/stderr notice;
|
|
|
|
pid /tmp/nginx.pid;
|
|
|
|
daemon off;
|
|
|
|
|