In EasyEngine 3.4, we have added support for HTTP/2 and Let’s Encrypt.
To update your EasyEngine to latest version, please run
ee update command.
As both of these are relatively newer feature, it’s better you read the following details to familiarize yourself.
HTTP2 is newer version of HTTP protocol. HTTP2 has many improvements, but simply put, it means faster sites for your visitors. It is based on SPDY, for which we had support in EasyEngine since day 1!
It’s better to go through http://http2.github.io/ for more details about protocol.
NGINX recently added support in it’s mainline release channel. Though I am personally switching NGINX version from stable to mainline for all EasyEngine users, we managed to add a workaround for now.
Also, as browsers will start dropping support for SPDY (example) soon, we need to rush!
For existing users:
ee stack remove --nginx && ee stack install --nginxmainline
For new users:
ee stack install --nginxmainline
Please note if you run our famous 2 lines site creation process, you may need to follow step’s for existing users as it will install nginx stable version.
Read More: HTTP2 feature documentation
Let’s Encrypt for HTTPS
HTTPS or encrypted HTTP is something a must have requirement for sites that accepts credit card. But recently many sites, where no e-commerce activity takes place, also started switching to HTTPS.
In order to add HTTPS support, we needed to have SSL certificate. There was some free and paid ways to get SSL certificate for your domain but the process was tedious and time consuming, unless your site is running behind something like CloudFlare.
This all changed with inception of Let’s Encrypt. With Let’s Encrypt we can automate entire process of setting up and renewing SSL certificates.
We have listed a manual process in our tutorials section last month. But as you can expect with EasyEngine, we have automated everything using just one command.
For existing user and sites running EasyEngine:
ee site update example.com --letsencrypt
For new sites:
ee site create example.com --wp --letsencrypt
Auto-Renewal for Let’s Encrypt SSL certificates
As Let’s Encrypt issues certificates for 90 days only, manual renewal would go against EasyEngine’s “Easy first” principle. So that is why EasyEngine automatically renew all SSL certificates for Let’s Encrypt sites automatically using a cron job.
Read More: Lets’ Encrypt feature documentation
HTTP2 and Let’s Encrypt
While HTTP2 doesn’t require encryption, currently no browser supports HTTP/2 unencrypted. (source)
So in order to benefit from HTTP2, you will likely need encryption and SSL certificate which you can now get using Let’s Encrypt.
As we have added support for both, you don’t need to bother about internal details.
If you run into any issues or have any questions, please use our community support forum.
If you are using EasyEngine Premium Support, you can create a support request and let our team update EasyEngine.
Please share your feedback via comments or join EasyEngine slack team.
Links: HTTP2 | Lets’ Encrypt | Release Notes