|
@@ -37,12 +37,12 @@ http {
|
|
|
# http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
|
|
|
# http://www.techrepublic.com/article/take-advantage-of-tcp-ip-options-to-optimize-data-transmission/
|
|
|
# The backlog argument to listen() is set to match net.ipv4.tcp_max_syn_backlog and net.core.somaxconn
|
|
|
- listen 8080 default_server deferred backlog=65535;
|
|
|
+ listen 8080 default_server deferred reuseport backlog=65535;
|
|
|
server_name localhost;
|
|
|
|
|
|
location / {
|
|
|
uwsgi_pass unix:/tmp/uwsgi.sock;
|
|
|
include /usr/local/nginx/conf/uwsgi_params;
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
}
|