Il giorno 02/mar/2012, alle ore 10:22, ZHOU Xiaobo ha scritto:
> My Nginx exhausted 65535 ports when upstreaming request to uWSGI.
> Can I use keepalive-connections between nginx and uWSGI?
Nginx does not support this kind of configuration.
If you cannot use unix sockets (they have no such limit), you can bind uWSGI on
multiple address
(simply specify socket multiple times) and use the upstream nginx config option:
upstream backend {
server 192.168.0.1:4040;
server 192.168.0.2:4040;
server 192.168.0.3:4040;
}
>
> thx
> ------------------
> Sincerely yours
> ZHOU Xiaobo
> <br>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
--
Roberto De Ioris
http://unbit.it
JID: [email protected]
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi