gin-gonic / autotls

Support Let's Encrypt for a Go server application.
MIT License
379 stars 40 forks source link

Redirect http to https #19

Closed iIIusi0n closed 4 years ago

iIIusi0n commented 4 years ago

how can i do this?

appleboy commented 4 years ago

Try RunWithManager method which redirects HTTP to HTTPS by default.