updated traefik to latest

removed duckdns
This commit is contained in:
Brennen Raimer
2019-11-02 15:10:44 -04:00
parent aab50eceb9
commit c2fed99704
5 changed files with 33 additions and 130 deletions
-90
View File
@@ -1,90 +0,0 @@
debug = false
logLevel = "ERROR"
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
# [entryPoints.traefik]
# address = ":8080"
[retry]
# Traefik logs
# Enabled by default and log to stdout
#
# Optional
#
# [traefikLog]
# Sets the filepath for the traefik log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.
#
# Optional
# Default: os.Stdout
#
# filePath = "log/traefik.log"
# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "common"
# Enable access logs
# By default it will write to stdout and produce logs in the textual
# Common Log Format (CLF), extended with additional fields.
#
# Optional
#
# [accessLog]
# Sets the file path for the access log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.
#
# Optional
# Default: os.Stdout
#
# filePath = "/path/to/log/log.txt"
# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "common"
################################################################
# Web configuration backend
################################################################
# Enable web configuration backend
# https://docs.traefik.io/configuration/api/
#[api]
#entryPoint = "traefik"
#dashboard = true
[file]
directory = "/etc/traefik/rules"
watch = true
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "yoursubdomain.duckdns.org"
watch = true
exposedbydefault = false
[acme]
email = "you@youremail.com"
storage = "/etc/traefik/acme/acme.json"
entryPoint = "https"
OnHostRule = true
[acme.dnsChallenge]
provider = "duckdns"
+7
View File
@@ -0,0 +1,7 @@
tls:
stores:
default:
defaultCertificate:
certFile: /certs/gatecounter.crt
keyFile: /certs/gatecounter.key