diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-29 10:28:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-29 10:28:08 +0200 |
commit | 6401417d6c17f827c94e44dd27c85c771442630b (patch) | |
tree | d6168d31c292293d314f750c89d3f97264262386 /config | |
parent | 0c985c5a039c3dd942fa78330e83d5434bed66b0 (diff) | |
download | PeerTube-6401417d6c17f827c94e44dd27c85c771442630b.tar.gz PeerTube-6401417d6c17f827c94e44dd27c85c771442630b.tar.zst PeerTube-6401417d6c17f827c94e44dd27c85c771442630b.zip |
Add help in conf file regarding SMTP
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml index f43cbaf4b..b5ad0a8f2 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -1,3 +1,5 @@ | |||
1 | # /!\ YOU SHOULD NOT UPDATE THIS FILE, USE production.yaml instead /!\ # | ||
2 | |||
1 | listen: | 3 | listen: |
2 | hostname: '127.0.0.1' | 4 | hostname: '127.0.0.1' |
3 | port: 9000 | 5 | port: 9000 |
@@ -60,7 +62,7 @@ admin: | |||
60 | signup: | 62 | signup: |
61 | enabled: false | 63 | enabled: false |
62 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 64 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
63 | filters: | 65 | filters: |
64 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | 66 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist |
65 | whitelist: [] | 67 | whitelist: [] |
66 | blacklist: [] | 68 | blacklist: [] |
diff --git a/config/production.yaml.example b/config/production.yaml.example index a9d2c3b80..a11f0a1d6 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -32,10 +32,10 @@ redis: | |||
32 | # SMTP server to send emails | 32 | # SMTP server to send emails |
33 | smtp: | 33 | smtp: |
34 | hostname: null | 34 | hostname: null |
35 | port: 465 | 35 | port: 465 # If you use StartTLS: 587 |
36 | username: null | 36 | username: null |
37 | password: null | 37 | password: null |
38 | tls: true | 38 | tls: true # If you use StartTLS: false |
39 | disable_starttls: false | 39 | disable_starttls: false |
40 | ca_file: null # Used for self signed certificates | 40 | ca_file: null # Used for self signed certificates |
41 | from_address: 'admin@example.com' | 41 | from_address: 'admin@example.com' |
@@ -76,7 +76,7 @@ admin: | |||
76 | signup: | 76 | signup: |
77 | enabled: false | 77 | enabled: false |
78 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 78 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
79 | filters: | 79 | filters: |
80 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | 80 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist |
81 | whitelist: [] | 81 | whitelist: [] |
82 | blacklist: [] | 82 | blacklist: [] |