Hi,
I have a droplet running Spring Boot application. What is the most painless way to setup SSL for it? Is there general option where I can drop in certificate or do I have to configure nginx or apache?
Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
Indeed, what I could suggest is setting up Nginx as a reverse proxy that way you could use Let’s Encrypt to secure your installation.
Your Nginx reverse proxy server block would look something like this:
Then you could follow the steps here on how to setup Let’s Encrypt:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
Hope that this helps. Regards, Bobby