Welcome! Log In Create A New Profile

Advanced

Re: Content-Type header not proxied to downstream hosts

Francis Daly
December 11, 2014 03:22AM
On Wed, Dec 10, 2014 at 09:47:21PM -0500, hyperion wrote:

Hi there,

> I want to proxy requests with all headers that the request had to a
> downstream server if it matches a regex.

I suspect there may be a terminology confusion here; but from this mail,
I am not sure what problem you are reporting.

The client makes a request of nginx; nginx makes a request of upstream;
upstream sends a response to nginx; nginx sends a response to the client.

Two requests, two responses.

Which of those four sets of headers are you concerned about?

> The nginx conf is very simple. I know the request sent to nginx contains
> the Content-Type header with value application/json from the access log:

I don't see that header value in this access_log.

http://nginx.org/en/docs/http/ngx_http_core_module.html#variables

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Content-Type header not proxied to downstream hosts

hyperion December 10, 2014 09:47PM

Re: Content-Type header not proxied to downstream hosts

Francis Daly December 11, 2014 03:22AM

Re: Content-Type header not proxied to downstream hosts

hyperion December 11, 2014 12:57PM

Re: Content-Type header not proxied to downstream hosts

Francis Daly December 13, 2014 03:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready