spdy per location

Richard Kearsley rkearsley at blueyonder.co.uk
Mon Jul 8 13:06:48 UTC 2013

I'm trying to set up spdy so that I can choose weather or not to use it 
based on the server location that's accessed
As I understand, the underlying protocol (http/https/spdy) is 
established first before any request can be sent (e.g. before we know 
which location it will match)

I know this example is totally impossible, but would like to know if 
there is a real way of doing it:

     listen 80;
     listen 443 ssl spdy;

     location /
         spdy off;

     location /spdy
         spdy on;

Many thanks

More information about the nginx mailing list