i try to install nginx with spdy support following here:ningx spedy, i used this configuration command
./configure --with-http_ssl_module --with-http_spdy_module --with-openssl="/..../openssl/openssl-1.0.1c"
but when i go and check my site on spdycheck.org, i got the result that NPN is enabled but spdy is not, can't find any info where i can start cracking now(nothing in the error log), any ideas folks?
Edit:
# Force URL on https and www
server{
listen 80;
server_name www.example.com example.com;
rewrite ^ https://www. example.com$1 permanent;
}
server {
listen 443 ssl spdy;
ssl_certificate /usr/ssl/nginx/server.crt;
ssl_certificate_key /usr/ssl/nginx/server.key;
server_name www. example.com;
access_log /var/log/nginx/test.tedxnanjing.access;
error_log /var/log/nginx/test.tedxnanjing.error error;
fastcgi_read_timeout 120;
location / {
root /var/www/html;
index index.html index.htm index.php;
}
location ~* ^.+.(jpg|jpeg|gif|bmp|ico|png|css|js|swf|log|zip|tar)$ {
root /var/www/html;
expires max;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
}
}