Welcome! Log In Create A New Profile

Advanced

Re: Is there setting equivalent to proxy_set_header for uwsgi?

August 17, 2011 01:30AM
Il giorno 17/ago/2011, alle ore 06:58, yejun ha scritto:

> I have tried this. The uwsgi server gives an error
>
>
> INVALID PROTOCOL:
> [pid: 32149|app: 0|req: -1/1] () {22 vars in 803 bytes} [Wed Aug 17
> 00:54:50 2011] => generated 45 bytes in 0 msecs ( 500) 2 headers in 63
> bytes (0 switches on core 0)
>
>
> My uwsgi is a django app, the command line looks like this
>
>
> uwsgi --uid 1000 -H /mnt/python -s :8000 --wsgi-file
> path/wsgi_handler.py
>
> Without uwsgi_param, this works perfectly.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213906,213908#msg-213908



You should post your current nginx config, otherwise it will be very hard to help you :)
--
Roberto De Ioris
http://unbit.it
JID: roberto@jabber.unbit.it

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is there setting equivalent to proxy_set_header for uwsgi?

yejun August 16, 2011 11:10PM

Re: Is there setting equivalent to proxy_set_header for uwsgi?

roberto August 17, 2011 12:52AM

Re: Is there setting equivalent to proxy_set_header for uwsgi?

yejun August 17, 2011 12:58AM

Re: Is there setting equivalent to proxy_set_header for uwsgi?

roberto August 17, 2011 01:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
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