aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 20094ae8f..37059e9e0 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -37,6 +37,11 @@ rates_limit:
37 window: 10 minutes 37 window: 10 minutes
38 max: 10 38 max: 10
39 39
40oauth2:
41 token_lifetime:
42 access_token: '1 day'
43 refresh_token: '2 weeks'
44
40# Proxies to trust to get real client IP 45# Proxies to trust to get real client IP
41# If you run PeerTube just behind a local proxy (nginx), keep 'loopback' 46# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
42# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) 47# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
@@ -377,9 +382,15 @@ contact_form:
377 382
378signup: 383signup:
379 enabled: false 384 enabled: false
385
380 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 386 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
387
381 minimum_age: 16 # Used to configure the signup form 388 minimum_age: 16 # Used to configure the signup form
389
390 # Users fill a form to register so moderators can accept/reject the registration
391 requires_approval: true
382 requires_email_verification: false 392 requires_email_verification: false
393
383 filters: 394 filters:
384 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 395 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
385 whitelist: [] 396 whitelist: []