Welcome! Log In Create A New Profile

Advanced

Re: Is there setting equivalent to proxy_set_header for uwsgi?

August 17, 2011 12:52AM
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@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: 317
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