如何获取:Nginx上的权限标头?
如何在Nginx上获取http头 HTTP/2支持默认具有“:authority”头 我需要检查$host与$http\u权限的匹配情况 但是$http_权限是空的如何获取:Nginx上的权限标头?,nginx,Nginx,如何在Nginx上获取http头 HTTP/2支持默认具有“:authority”头 我需要检查$host与$http\u权限的匹配情况 但是$http_权限是空的 if ( $http_authority ~* $host ) { return 405; } 谢谢
if ( $http_authority ~* $host ) { return 405; }
谢谢