Welcome! Log In Create A New Profile

Advanced

Re: Need Help about useing Nginx with UWSGI

Maxim Dounin
October 23, 2015 08:48AM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Need Help about useing Nginx with UWSGI

qhlonline October 23, 2015 03:00AM

Re: Need Help about useing Nginx with UWSGI

Maxim Dounin October 23, 2015 08:48AM

Re:Re: Need Help about useing Nginx with UWSGI

qhlonline October 23, 2015 10:02PM

Re: Re: Need Help about useing Nginx with UWSGI

B.R. October 24, 2015 07:32AM

Re:Re: Re: Need Help about useing Nginx with UWSGI

qhlonline October 24, 2015 08:24AM

Re:Re: Re: Need Help about useing Nginx with UWSGI

roberto October 24, 2015 08:30AM

Re: Need Help about useing Nginx with UWSGI

Aleksandar Lazic October 23, 2015 09:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready