# Uncomment this line in order to enable debugging through logs
# debug = true
defaultEntryPoints = ["http", "https"]
+
[entryPoints]
[entryPoints.http]
address = ":80"
+ [entryPoints.http.redirect]
+ entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
# Enable ACME (Let's Encrypt): automatic SSL.
[acme]
-# Email address used for registration.
-#
-# Required
-#
-email = "<MY EMAIL ADDRESS>"
-
# File or key used for certificates storage.
#
# Required
#
entryPoint = "https"
-# Domains list.
-#
-[[acme.domains]]
- main = "<MY DOMAIN>"
-
# Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
#
# Optional but recommend