ssl
(OPTIONAL)
Make your application available via HTTPS and a free ssl cert from letsencrypt.org. If you have an app with a custom domain you can easy create a ssl cert for you app using sloppy.io.
Make sure your domain points to our loadbalancer then set the ssl flag in your sloppy.json:
{ "ssl": true }
The certificate will be automatically renewed after 2 month.
JSON example:
{
"project": "oh-hai",
"services": [
{
"id": "frontend",
"apps": [
{
"id": "apache",
"domain": {
"uri": "test1.example.de test2.example.de"
},
"mem": 256,
"ssl": true,
"image": "sloppy/apache-php",
"instances": 1,
"port_mappings": [
{
"container_port": 80
}
],
"env": {
"MESSAGE": "sloppy.io rulez!"
}
}
]
}
]
}