SSL allows you to serve your sites using HTTPS, giving your users a guarantee of data integrity and privacy when they visit.
We provide SSL certificates free and by default. All Divio Cloud sites can be accessed using the HTTPS protocol instead of plain HTTP.
Certificates have a 90-day lifetime, and are renewed automatically 40 days before expiry.
If you have your own certificate, this can be applied to sites with eligible subscriptions - just drop us a line and we'll set it all up for you.
By default, we don't redirect HTTP users to HTTPS, because for some cases this might not be appropriate. However unless you have a good reason not to, we advise that you set this up for your site, so that when your visitors arrive on a url such as
http://example.com/ they will be redirected to
To enable this:
- Add an Environment Variable called
SECURE_SSL_REDIRECTto your Live server.
- Set it to
- Re-deploy your server.