On Monday 15 August 2016 16:56:03 Vadim A. Misbakh-Soloviov wrote:
> 
> > Реагирует вполне:
> > 
> > $ date && nghttp -v https://vk.com/ | fgrep 'server: '
> > Mon Aug 15 12:20:51 MSK 2016
> > [  0.073] recv (stream_id=13) server: nginx
> 
> Ну, я по старой привычке курлом проверял, с --http2. Там он посылает 1.1 но 
> подсовывает upgrade ;). На что сервер не коглашается в этом случае :)
[..]

$ curl -i --http2 https://vk.com
HTTP/2 302 
server: nginx
date: Mon, 15 Aug 2016 10:03:31 GMT
content-type: text/html; charset=windows-1251
content-length: 0
location: https://m.vk.com/
x-powered-by: PHP/3.25021
set-cookie: remixlang=0; expires=Fri, 18 Aug 2017 22:46:25 GMT; path=/; 
domain=.vk.com

$ curl -V
curl 7.50.1 (x86_64-pc-linux-gnu) libcurl/7.50.1 OpenSSL/1.0.2h zlib/1.2.8 
nghttp2/1.10.0
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp 
smtps telnet tftp 
Features: IPv6 Largefile NTLM SSL libz TLS-SRP HTTP2 UnixSockets 

--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить