1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

Happy weekend! Due the latest news we have a single change for your own safety. iris.AutoTLS users should pass all the necessary information now, these are the recommended by letsencrypt.

Iris devs should declare all the information now, there is no option to "leave something out" anymore, it's for your own good. Version is not changed yet, giving you time to see that changelog and do the necessary changes to your codebase, it will written to HISTORY.md too of course.

Before:
app.Run(iris.AutoTLS(":443"))

Now:
app.Run(iris.AutoTLS(":443", "example.com", "mail@example.com")

Happy weekend!


Former-commit-id: f5314a8c1f8303d7216481d05129eb8a62766e14
This commit is contained in:
kataras
2017-08-26 01:33:55 +03:00
parent 83fbef2d2f
commit f7b655f145
3 changed files with 4 additions and 4 deletions

View File

@@ -566,7 +566,7 @@ func TLS(addr string, certFile, keyFile string, hostConfigs ...host.Configurator
// For an "e-mail" use a non-public one, letsencrypt needs that for your own security.
//
// Note: If domain is not empty and the server's port was "443" then
// it will start a new server, automaticall for you, which will redirect all
// it will start a new server, automatically for you, which will redirect all
// http versions to their https as well.
//
// Last argument is optional, it accepts one or more