<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">The WSGI protocol is more specialized and maybe more efficient than HTTP when using a compatible backend (this protocol was designed for Python).<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I wonder why you would switch to HTTP instead.<br></div><div class="gmail_extra"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Sat, Oct 24, 2015 at 4:00 AM, qhlonline <span dir="ltr"><<a href="mailto:qhlonline@163.com" target="_blank">qhlonline@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>That it is, Thank you very much!<br><br><br><br><div style="zoom:1"></div><div></div><br><pre><br>At 2015-10-23 20:46:53, "Maxim Dounin" <<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>> wrote:
>Hello!
>
>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:
>
><a href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html" target="_blank">http://nginx.org/en/docs/http/ngx_http_proxy_module.html</a>
>
>-- 
>Maxim Dounin
><a href="http://nginx.org/" target="_blank">http://nginx.org/</a>
>
>_______________________________________________
>nginx mailing list
><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>
><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a>
</pre></div><br><br><span title="neteasefooter"><p> </p></span><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>