Welcome! Log In Create A New Profile

Advanced

Re: Is there setting equivalent to proxy_set_header for uwsgi?

August 17, 2011 12:58AM
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.
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: 328
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