easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

Any option to use SPDY?

Open deprito opened this issue 12 years ago • 7 comments

SPDY now available for nginx. Any plan to do automatically?

Thanks :)

deprito avatar Feb 07 '14 13:02 deprito

IMHO SPDY is useful for HTTPS sites. EasyEngine as of now do not automate SSL sites.

We will add SPDY support for sure, when we will start supporting SSL sites.

I am reading a lot on SSL these days. I am still clueless about automation as getting a certificate requires manual work. Once we find a way to make it as "easy" as possible (if not fully automated), we will start working on coding part! :-)

rahul286 avatar Feb 07 '14 16:02 rahul286

Thanks for your support. If spdy listen port set to 80, is can spdy work fine?Sent using CloudMagicOn Fri, Feb 7, 2014 at 23:18, rtCamp/easyengine [email protected] wrote: SPDY is useful for HTTP sites. EasyEngine as of now do not automate SSL sites.

We will add SPDY support for sure, when we will start supporting SSL sites.

I am reading a lot on SSL these days. I am still clueless about automation as getting a certificate requires manual work. Once we find a way to make it as "easy" as possible (if not fully automated), we will start working on coding part! :-)

—Reply to this email directly or view it on GitHub.

deprito avatar Feb 08 '14 00:02 deprito

I tested and found SPDY can listen to 80. I was under impression that it is made for secure sites (HTTPS). May bad! :|

Just add listen 80 spdy; to any server block to enable spdy.

Nginx installed by EasyEngine are already complied with spdy support.

Alternatively run nginx -V and check if --with-http_spdy_module appears in output.

We will add listen 80 spdy; to add all HTTP sites soon. I need to check if its really helpful and do not have any sideeffect.

rahul286 avatar Feb 08 '14 09:02 rahul286

Maybe ngx_pagespeed can be your next enhancement.. https://developers.google.com/speed/pagespeed/module

deprito avatar Mar 24 '14 09:03 deprito

Yes - Love that SPDY is enabled. Thank you. FYI - you can check your compliance here:
https://spdycheck.org/

Also, you might want to add this to the server block to add the HSTS header.

config to enable HSTS(HTTP Strict Transport Security) https://developer.mozilla.org/en-US/docs/Security/HTTP_Strict_Transport_Security

add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";

Reference Links/Information: https://scotthelme.co.uk/setting-up-hsts-in-nginx https://gist.github.com/plentz/6737338 https://raymii.org/s/tutorials/HTTP_Strict_Transport_Security_for_Apache_NGINX_and_Lighttpd.html

cm896 avatar Apr 16 '15 14:04 cm896

Just add listen 80 spdy; to any server block to enable spdy.

This shouldn't be done. SPDY doesn't use port 80 like regular HTTP does.

Also, since HTTP/2 will be released soon SPDY will no longer be relevant so I suggest closing this issue, @rahul286.

pnommensen avatar Sep 05 '15 14:09 pnommensen

Closing this as we now have HTTP2 :)

rahul286 avatar Aug 03 '18 12:08 rahul286