X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Fproduction.yaml.example;h=906fb7e1f1f10bf6aab5febb4b933cdcfe68b938;hb=2401ab9817b664be5dfc73c4d950e563e3ab3dfb;hp=e8b354d0109332a125db7af7c279cde1617c0045;hpb=8180f60477e99c4fd70ce25729d1ca65155a6686;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/production.yaml.example b/config/production.yaml.example index e8b354d01..906fb7e1f 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -35,6 +35,11 @@ rates_limit: window: 10 minutes max: 10 +oauth2: + token_lifetime: + access_token: '1 day' + refresh_token: '2 weeks' + # Proxies to trust to get real client IP # If you run PeerTube just behind a local proxy (nginx), keep 'loopback' # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) @@ -387,9 +392,15 @@ contact_form: signup: enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited + minimum_age: 16 # Used to configure the signup form + + # Users fill a form to register so moderators can accept/reject the registration + requires_approval: true requires_email_verification: false + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: []