mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-15 09:21:26 +08:00
27 lines
369 B
Nginx Configuration File
27 lines
369 B
Nginx Configuration File
|
master_process on;
|
||
|
|
||
|
worker_processes 2;
|
||
|
|
||
|
error_log logs/error.log warn;
|
||
|
pid logs/nginx.pid;
|
||
|
|
||
|
worker_rlimit_nofile 20480;
|
||
|
|
||
|
events {
|
||
|
accept_mutex off;
|
||
|
worker_connections 10620;
|
||
|
}
|
||
|
|
||
|
worker_shutdown_timeout 3;
|
||
|
|
||
|
http {
|
||
|
server {
|
||
|
listen 80;
|
||
|
|
||
|
access_log off;
|
||
|
location = /hello {
|
||
|
echo_duplicate 400 "1234567890";
|
||
|
}
|
||
|
}
|
||
|
}
|