Я скомпилировал nginx 1.5.10 с модулем spdy на centos 6.5, и он работает без проблем, насколько мне известно, за исключением того, что spdy, по-видимому, не используется.
Я добавил параметр 'spdy' в директиву listen в nginx.conf и перезапустил сервер, но при этом различные методы проверки spdy, такие как доступный плагин firefox, а также веб-сайт: https://spdycheck.org/ оба показывают, что spdy не используется на моем сайте.
строка в nginx.conf:
слушать 443 ssl spdy default_server;
я видел эту ветку: Как настроить протокол SPDY через Nginx? а>
и посмотрел, нужно ли мне изменить строки DAEMON или PATH в /etc/init.d/nginx - но в моих версиях эти строки вообще отсутствуют.
вывод nginx -V:
Версия nginx: nginx / 1.5.10 построено gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) Поддержка TLS SNI включена аргументы конфигурации: --prefix = / etc / nginx --sbin-path = / usr / sbin / nginx --conf-path = / etc / nginx / nginx.conf --error-log-path = / var / log / nginx / error.log --http-log-path = / var / log / nginx /access.log --pid-path = / var / run / nginx.pid --lock-path = / var / run / nginx.lock --http-client-body-temp-path = / var / cache / nginx / client_temp --http-proxy-temp-path = / var / cache / nginx / proxy_temp --http-fastcgi-temp-path = / var / cache / nginx / fastcgi_temp --http-uwsgi-temp-path = / var / cache / nginx / uwsgi_temp --http-scgi-temp-path = / var / cache / nginx / scgi_temp --user = nginx --group = nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module - -with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module -http_module -http_module_stat_module --with-http_module_stack_with_stat_module --with-http_module_with_stat_module --with-http_module_stud_with_stat_module --with-http_module_with_stack_module --with-http_module_with_module_stack_with_module_stack_with_module_with_stat_module_with_stack_module --with-http_module_with_stat_module --with-http_module_with-http_secure_module --with-http_module_stub_secure_module --with-http_modules -w ith-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt = '- O2 -g'
любые советы приветствуются!
nginx -V
, чтобы он отображал все параметры, с которыми вы скомпилировали nginx? Это дало бы нам лучшее понимание. - person ʞɹᴉʞ ǝʌɐp   schedule 07.02.2014