SSL for Preview Adonis Version #1459
-
I need add SSL to my project running on Adonis 5. How can I do it ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
SSL has nothing to do with adonisjs. Issuing a ssl with: https://www.sslforfree.com/ or with certbot: https://certbot.eff.org/ Here is a tutorial that can give you a clearer answer: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04 Or check the adonis js section: https://adonisjs.com/recipes/4.1/using-https. (this is for 4.1 but something similar can be done I think, NOT SURE) Aaand another options is to use cloudflare DNS. |
Beta Was this translation helpful? Give feedback.
SSL has nothing to do with adonisjs.
Issuing a ssl with: https://www.sslforfree.com/ or with certbot: https://certbot.eff.org/
And then in your nginx config block or apache set the cert path.
Here is a tutorial that can give you a clearer answer: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04
Or check the adonis js section: https://adonisjs.com/recipes/4.1/using-https. (this is for 4.1 but something similar can be done I think, NOT SURE)
Aaand another options is to use cloudflare DNS.