Need Help about useing Nginx with UWSGI
B.R.
reallfqq-nginx at yahoo.fr
Sat Oct 24 11:29:13 UTC 2015
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 163.com> wrote:
>
> That it is, Thank you very much!
>
>
>
>
>
> At 2015-10-23 20:46:53, "Maxim Dounin" <mdounin at mdounin.ru> 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:
> >
> >http://nginx.org/en/docs/http/ngx_http_proxy_module.html
> >
> >--
> >Maxim Dounin
> >http://nginx.org/
> >
> >_______________________________________________
> >nginx mailing list
> >nginx at nginx.org
> >http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151024/21323c14/attachment.html>
More information about the nginx
mailing list