aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-28 10:53:57 +0200
committerChocobozzz <me@florianbigard.com>2018-05-28 11:36:27 +0200
commitb44a96300c1f82e24cfc296de821d809bf031f38 (patch)
tree9324f8b53e7dd37510921cafbfe034ac50027f7d /support/docker/production/config
parentc6992499b21c48c73dd9c08e1984eecbbacfcdba (diff)
downloadPeerTube-b44a96300c1f82e24cfc296de821d809bf031f38.tar.gz
PeerTube-b44a96300c1f82e24cfc296de821d809bf031f38.tar.zst
PeerTube-b44a96300c1f82e24cfc296de821d809bf031f38.zip
Improve docker doc and fix missing keys on update
Diffstat (limited to 'support/docker/production/config')
-rw-r--r--support/docker/production/config/traefik.toml49
1 files changed, 49 insertions, 0 deletions
diff --git a/support/docker/production/config/traefik.toml b/support/docker/production/config/traefik.toml
new file mode 100644
index 000000000..775a26515
--- /dev/null
+++ b/support/docker/production/config/traefik.toml
@@ -0,0 +1,49 @@
1# Uncomment this line in order to enable debugging through logs
2# debug = true
3defaultEntryPoints = ["http", "https"]
4[entryPoints]
5 [entryPoints.http]
6 address = ":80"
7 [entryPoints.https]
8 address = ":443"
9 [entryPoints.https.tls]
10
11# Enable ACME (Let's Encrypt): automatic SSL.
12[acme]
13
14# Email address used for registration.
15#
16# Required
17#
18email = "<MY EMAIL ADDRESS>"
19
20# File or key used for certificates storage.
21#
22# Required
23#
24storage = "/etc/acme.json"
25# or `storage = "traefik/acme/account"` if using KV store.
26
27# Entrypoint to proxy acme apply certificates to.
28# WARNING, if the TLS-SNI-01 challenge is used, it must point to an entrypoint on port 443
29#
30# Required
31#
32entryPoint = "https"
33
34# Domains list.
35#
36[[acme.domains]]
37 main = "<MY DOMAIN>"
38
39# Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
40#
41# Optional but recommend
42#
43[acme.httpChallenge]
44
45 # EntryPoint to use for the challenges.
46 #
47 # Required
48 #
49 entryPoint = "http"