Need Help about useing Nginx with UWSGI

qhlonline qhlonline at
Sat Oct 24 12:23:03 UTC 2015

Debug on test environment.  If I can not access an URI of my app,  Then I can try to access uwsgi server port directly to get rid of the possibility that my nginx configuration problem.  But UWSGI processes can only start as one protocol server,  and I can not find any plugin for browsers that support the uwsgi protocol.  So I would like to deploy the app on test environment with direct http protocol.   On my test environment,  the  efficiency is not the most important.


At 2015-10-24 19:29:13, "B.R." <reallfqq-nginx at> wrote:

The WSGI protocol is more specialized and maybe more efficient than HTTP when using a compatible backend (this protocol was designed for Python).

I wonder why you would switch to HTTP instead.

B. R.

On Sat, Oct 24, 2015 at 4:00 AM, qhlonline <qhlonline at> wrote:

That it is, Thank you very much!

At 2015-10-23 20:46:53, "Maxim Dounin" <mdounin at> wrote:
>On Fri, Oct 23, 2015 at 02:59:26PM +0800, qhlonline wrote:
>> I had some problem on config nginx with uwsgi.  Finally I found 
>> that my uwsgi had chose protocol of http and Nginx use uwsgi 
>> protocol as default. So If I want to use http protocol to 
>> transport data from nginx to uwsgi, how to config ?
>To use HTTP instead of uWSGI protocol, you have to use the proxy 
>module (proxy_pass) instead of the uwsgi module (uwsgi_pass).  
>Both modules are very similar, so shouldn't have problems changing 
>your config from one to another.
>See here for details:
>Maxim Dounin
>nginx mailing list
>nginx at


nginx mailing list
nginx at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list