Is there setting equivalent to proxy_set_header for uwsgi?
Roberto De Ioris
roberto at unbit.it
Wed Aug 17 05:28:16 UTC 2011
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 at jabber.unbit.it
More information about the nginx
mailing list