I have one server where I have one HTTP header that contains an underscore (example X_MYHEADER
) all other headers do not use underscores.
Therefore I enabled the option
underscores_in_headers on;
Now I'm asking myself whether I could distinguish a header
like X_MYHEADER
from an http header like X-MYHEADER
The only way that I know to access the value of a header is to use
$http_x_myheader
, but this would be identical for both cases.
If I can't distinguish both headers, would there be some way to allow X_MYHEADER
but to ignore X-MYHEADER