|
@@ -3,9 +3,10 @@ master
|
|
; Increase listen queue used for nginx connecting to uWSGI. This matches
|
|
; Increase listen queue used for nginx connecting to uWSGI. This matches
|
|
; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
|
|
; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
|
|
; for performance
|
|
; for performance
|
|
|
|
+listen = 65535
|
|
disable-logging
|
|
disable-logging
|
|
; use UNIX sockets instead of TCP loopback for performance
|
|
; use UNIX sockets instead of TCP loopback for performance
|
|
-socket = /tmp/uwsgi.sock
|
|
|
|
|
|
+socket = /var/tmp/uwsgi.sock
|
|
; allow nginx to access the UNIX socket
|
|
; allow nginx to access the UNIX socket
|
|
chmod-socket = 666
|
|
chmod-socket = 666
|
|
; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
|
|
; Avoid thundering herd problem http://uwsgi-docs.readthedocs.org/en/latest/articles/SerializingAccept.html .
|