parent
3e1185e637
commit
487eb9e616
|
|
@ -45,6 +45,7 @@ events {
|
|||
multi_accept on;
|
||||
}
|
||||
|
||||
http {
|
||||
# cache informations about FDs, frequently accessed files
|
||||
# can boost performance, but you need to test those values
|
||||
open_file_cache max=200000 inactive=20s;
|
||||
|
|
@ -86,6 +87,7 @@ keepalive_timeout 30;
|
|||
|
||||
# number of requests client can make over keep-alive -- for testing environment
|
||||
keepalive_requests 100000;
|
||||
}
|
||||
```
|
||||
|
||||
Now you can save config and run bottom [command](https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/#stopping-or-restarting-nginx)
|
||||
|
|
|
|||
Loading…
Reference in New Issue