Nginx配置优化之启用HTTP1.1 发表于 2016-12-26 | 分类于 Nginx配置 | | 阅读次数:默认配置时123GET / HTTP/1.0Host: baiyangliu.comAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8修改配置1proxy_http_version 1.1;再次请求123GET / HTTP/1.1Host: baiyangliu.comAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8可以发现HTTP/1.0变成HTTP/1.1。