valb3r / letsencrypt-helper

Generates and keeps up-to-date your Spring Boot applications' Let's Encrypt or other ACME compliant SSL certificates. Pure Java in a single file of library code. An automated embedded alternative to Certbot and docker-sidecars. No JVM restart is needed on certificate update.
https://valb3r.github.io/letsencrypt-helper
MIT License
36 stars 4 forks source link

Instructions/code on how to redirect http to https would be helpful #12

Open metaruslan opened 2 years ago

metaruslan commented 2 years ago

Hi! This is a useful project, thanks!

Instructions/code on how to redirect http to https would be helpful especially given that this is for small pet projects. I've been able to apply it to my pet project and now I don't have this 301 https redirect. Googling gave me too many ways and it's interesting what would be the best way for spring-boot.

valb3r commented 2 years ago

Ok, makes sense, thanks for feedback