Welcome! Log In Create A New Profile

Advanced

Re: nginx RFC21266 Compliance - 'Proxy-Connection'

Steve Wilson
August 25, 2015 04:22PM
Looking at https://en.wikipedia.org/wiki/List_of_HTTP_header_fields it
suggests it's a non-standard request header.

You can probably strip this out of the request to the real server with

proxy_set_header "Proxy-Connection" "";

Although I'd expect the backend server to ignore invalid request headers
rather than bork on the request.

Steve.

On 25/08/2015 21:03, Tyarko Leander Rodney wrote:
> Hi,
>
> I’ve posted this question on the IRC before but had no luck. I have the following problem:
>
> I’d like to disable the ‘Proxy-Connection’ Response Header. I know, that the “Connection” Header is hard coded in ngx_http_header_filter_module.c, but does the same apply to “Proxy-Connection” (couldn’t find it in the sources)?
>
> I’ve tried the more_clear_headers from the ngx_headers_more module and proxy_set_header(which both work fine with all other headers).
>
> Background: The ‘Proxy-Connection’ sadly violates our Server Policy (strict RFC21266 compliance).
>
> Kind regards
>
> T. Rodney
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

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

nginx RFC21266 Compliance - 'Proxy-Connection'

Tyarko Leander Rodney August 25, 2015 04:04PM

Re: nginx RFC21266 Compliance - 'Proxy-Connection'

Valentin V. Bartenev August 25, 2015 04:10PM

Re: nginx RFC21266 Compliance - 'Proxy-Connection'

Steve Wilson August 25, 2015 04:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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