Welcome! Log In Create A New Profile

Advanced

Re: Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

June 09, 2020 08:12AM
On 09/06/2020 02:51, Maxim Dounin wrote:
> Hello!
>
> On Mon, Jun 08, 2020 at 10:29:23PM +0100, Alan Chandler wrote:
>
>> On 08/06/2020 21:58, Maxim Dounin wrote:
>>> On Mon, Jun 08, 2020 at 08:57:56PM +0100, Alan Chandler wrote:
>>>
>>>> I have nginx acting as the static file server for a single page
>>>> web app I am developing. It acts as a proxy server for the
>>>> "/api" portion on my url space.
>>> Trailers are only supported in gRPC proxying (grpc_pass), where
>>> they are required for gRPC. Trailers are not supported by
>>> proxy_pass.
>>>
>> That is a shame.
> You are welcome to work on this if you think this is needed.

HA:  I'm still working on a Single Page Application I started in 2013 to
move a client from Microsoft Access/Sqlserver app to

a web app (still with sqlserver).  Until I do so I cannot retire, and
that client is the only one I have left and I am currently 69.

The work I was trying to use trailers for is a hobby, but with a
deadline of September this year. Trailers was just me exploring

options to support my api handler throwing an error mid stream. I can
think of other options to handle my use case.

Besides it has been almost 40 years (early 1980s)  since I last coded in
C or C++

> Some lengthy discussion on trailers support happened in the past
> here (TL;DR: net effect is that there are no trailers support in
> the Fetch Standard now):
>
> https://github.com/whatwg/fetch/issues/34
>
Having read through that, trailers is definitely not a rabbit hole I
want to go down.

Alan Chandler






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

Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

akc42 June 08, 2020 04:00PM

Re: Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

Maxim Dounin June 08, 2020 05:00PM

Re: Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

akc42 June 08, 2020 05:30PM

Re: Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

Maxim Dounin June 08, 2020 09:52PM

Re: Why does nginx strip trailing headers from a proxied backend? How can I prevent it?

akc42 June 09, 2020 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready