Valentin V. Bartenev
January 23, 2013 09:36AM
On Wednesday 23 January 2013 15:29:18 sdeancos wrote:
> Hi!
>
> Sorry...
>
> When i say "not working" meant that not working ignore_invalid_headers off
> directive.. not propage my customs headers.
>
> My example:
>
> server {
> listen 443;
> ssl on;
> ssl_certificate my_public.crt;
> ssl_certificate_key my_server.key;
> server_name myservername;
> ignore_invalid_headers off;
> location / {
> proxy_pass_header Server;
> proxy_set_header Host $http_host;
> proxy_redirect off;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Scheme $scheme;
> proxy_pass http://192.168.1.82;
> }
> }
>
>
> Thanks!
>

Is this the default server? Do you have other server blocks that listen on 443?

Please note from the documentation:

"A directive can be specified on the server level in a default server. In this
case, its value will cover all virtual servers listening on the same address
and port." @ http://nginx.org/r/ignore_invalid_headers

wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html

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

About ignore_invalid_headers directive in SSL

sdeancos January 22, 2013 11:55AM

RE: About ignore_invalid_headers directive in SSL

Lukas Tribus January 22, 2013 12:28PM

Re: RE: About ignore_invalid_headers directive in SSL

sdeancos January 23, 2013 06:29AM

RE: About ignore_invalid_headers directive in SSL

Lukas Tribus January 23, 2013 09:30AM

Re: About ignore_invalid_headers directive in SSL

Valentin V. Bartenev January 23, 2013 09:36AM

Re: About ignore_invalid_headers directive in SSL

sdeancos January 23, 2013 10:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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