Improve nginx performance to match listen backlog with net.core.somaxconn
This commit is contained in:
parent
ba964cdcda
commit
8b25cc67a5
3 changed files with 14 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ http {
|
|||
|
||||
# default server, including healthcheck
|
||||
server {
|
||||
listen 8080 default_server reuseport;
|
||||
listen 8080 default_server reuseport backlog={{ .backlogSize }};
|
||||
|
||||
location /healthz {
|
||||
access_log off;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue