Welcome! Log In Create A New Profile

Advanced

How can I get nginx to support trailers

April 04, 2024 04:00PM
Hi folks!

I have an nginx instance to proxy requests for a service that I have and I'm having trouble passing trailers.

If I curl my service directly I see the appropriate trailers that I set-up be returned. However I don't see the trailers when I curl on nginx which leads me to believe nginx is stripping the trailers.

I added a "TE: trailers" header to our request and in our nginx configs tried using:
"add_trailer Xstatus $sent_trailer_xstatus" and even
"add_trailer Xstatus $upstream_trailer_xstatus"
But I still don't see the trailers being returned
Is there any way to get trailers working with "proxy_pass"?

Could it be that we're just calling the wrong variable?
And is there any way to see _all_ the template variable values returned by the req?
Subject Author Posted

How can I get nginx to support trailers

tas7al April 04, 2024 04:00PM

Re: How can I get nginx to support trailers

tas7al April 05, 2024 01:04PM

Re: How can I get nginx to support trailers

ksi9292 May 08, 2024 11:43PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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