I have try ignore invalid headers with directive ignore_invalid_headers
off
in my configuration with SSL and dont get it working, however without
SSL
perfect work.
Please be more specific about SSL “not working”.
What does actually happen?
Do you see errors in the Browser?
Do you see errors in access or error logs?
Would you post your relevant configuration please?
Also, sinceignore_invalid_headers has nothing to do with SSL
at all [2], why do you think are trying to fix a SSL related
problem with it? What do you expect from that command?
Reread the documentation and what the flag is actually about. You are
disabling (off) a feature which IGNORES invalid header names. If you
rely on invalid header names, you need to enable this feature, not
disable it.
And btw, the feature is already on by default, so why don’t you just
remove it from the configuration?
Thatbeingsaid, you should absolutely not rely on invalid headers, since
that may break in certain browsers.
Are you perhaps confusing CUSTOM (X-blabla: asdasd) with INVALID header
names (broken-$%&/()-header-name: asdasd)?
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.” @ Module ngx_http_core_module