logLevel = "INFO" InsecureSkipVerify = true defaultEntryPoints = ["http","https"] [accessLog] filePath = "/opt/logs/access.json" format = "json" [accessLog.fields] defaultMode = "drop" [accessLog.fields.names] "BackendName" = "keep" "RequestAddr" = "keep" "RequestPath" = "keep" "RequestMethod" = "keep" "OriginStatus" = "keep" "OriginContentSize" = "keep" "ClientHost" = "keep" [accessLog.fields.headers] defaultMode = "drop" [entryPoints] [entryPoints.http] address = ":80" [entryPoints.http.redirect] entryPoint = "https" [entryPoints.https] address = ":443" [entryPoints.https.tls] minVersion = "VersionTLS12" [entryPoints.dashboard] address = ":8081" [entryPoints.dashboard.auth] [entryPoints.dashboard.auth.basic] users = ["robin:$apr1$t8CLskTm$MNs/SHiozb.ZL88RzZkkl0"] [docker] watch = true domain = "docker.localhost" swarmMode = true network = "Traefik_traefik-net" [acme] email = "cert@[YOUR_PRIVATE_DOMAIN]" storage = "/opt/acme.json" entryPoint = "https" acmeLogging=true # add as many entries below, for which you want free letsencrypt certificates. the given domain need to be publicly accacable and have to point to your VPS. [[acme.domains]] main = "[YOUR_FIRST_SUBDOMAIN_FOR_WHICH_YOU_WANT_A_FREE_CERTIFCATE]" [[acme.domains]] main = "[YOUR_SECOND_SUBDOMAIN_FOR_WHICH_YOU_WANT_A_FREE_CERTIFCATE]" [[acme.domains]] main = "[YOUR_THIRD_SUBDOMAIN_FOR_WHICH_YOU_WANT_A_FREE_CERTIFCATE]" [acme.httpChallenge] entryPoint = "http"