Welcome! Log In Create A New Profile

Advanced

problem with upstream

problem with upstream
September 03, 2013 07:42PM
Hi,

I'm novice with NGINX, I have a webserver that use upstream , I lose my http header fields , so If my client send an http header with some information it got lost when the upstream forward the packets,

is there a solution ?
a way to configure it to copy all the http headers fields or a specific list of fields ?

thanks
Re: problem with upstream
September 03, 2013 08:58PM
I tried to put in location
proxy_set_header myfield $http_myfield;
but it did not work, what am I missing ?
Re: problem with upstream
September 03, 2013 09:07PM
I solve it, my problem was that in my header field name I had "_" and I did not set underscores_in_headers to be on!!!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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