In this nginx doc, a variable $http_upgrade
is used in nginx conf file, while this variable is not found in ngnix var index, so it's probably not a built-in variable, then how nginx know its value.
The $http_upgrade
use the value from client header upgrade
, in nginx conf, $http_HEADER
get the HEADER from client.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With