Is there setting equivalent to proxy_set_header for uwsgi?
Roberto De Ioris
roberto at unbit.it
Wed Aug 17 04:50:54 UTC 2011
Il giorno 17/ago/2011, alle ore 05:10, yejun ha scritto:
> I tried use uwsgi_params, but the uwsgi server will fail to pass it.
The directive is
uwsgi_param KEY VALUE;
You have to put them under a location stanza:
location / {
include uwsgi_params;
uwsgi_param FOO bar;
uwsgi_param fookey fooval;
uwsgi_pass 127.0.0.1:3031;
}
They will be blindly put in your app request dictionary.
--
Roberto De Ioris
http://unbit.it
JID: roberto at jabber.unbit.it
More information about the nginx
mailing list