Update README.md

Resolved #1
This commit is contained in:
Denis Denisov 2018-02-27 04:33:06 +02:00 committed by GitHub
parent 3e1185e637
commit 487eb9e616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 31 deletions

View File

@ -45,6 +45,7 @@ events {
multi_accept on; multi_accept on;
} }
http {
# cache informations about FDs, frequently accessed files # cache informations about FDs, frequently accessed files
# can boost performance, but you need to test those values # can boost performance, but you need to test those values
open_file_cache max=200000 inactive=20s; 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 # number of requests client can make over keep-alive -- for testing environment
keepalive_requests 100000; 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) Now you can save config and run bottom [command](https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/#stopping-or-restarting-nginx)