map configuration

foxgab nginx-forum at forum.nginx.org
Wed Jul 5 05:59:52 UTC 2017


that means, if the value of $http_upgrade is null or that variable doesn't
exist, the value of $connection_upgrade will set to "close", or it will set
to "upgrade" in the other cases.

the $http_upgrade is the value of the "Upgrade" header in the client
request.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275283,275304#msg-275304



More information about the nginx mailing list