Improve nginx performance to match listen backlog with net.core.somaxconn

This commit is contained in:
Manuel de Brito Fontes 2016-07-11 23:04:21 -04:00
parent ba964cdcda
commit 8b25cc67a5
3 changed files with 14 additions and 1 deletions

View file

@ -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;