diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 09:37:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 09:37:01 +0200 |
commit | e89392d74aabddbee1c43dcb7e1b40d3d7eec1ed (patch) | |
tree | 739f03dea15edf71e76334475c962c44f7641505 | |
parent | 179bfea5e053c6668bf72f60f0f5f214c27e3172 (diff) | |
download | PeerTube-e89392d74aabddbee1c43dcb7e1b40d3d7eec1ed.tar.gz PeerTube-e89392d74aabddbee1c43dcb7e1b40d3d7eec1ed.tar.zst PeerTube-e89392d74aabddbee1c43dcb7e1b40d3d7eec1ed.zip |
Fix production configuration
-rw-r--r-- | config/default.yaml | 1 | ||||
-rw-r--r-- | config/production.yaml.example | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml index cc7045769..99f00a9ec 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -259,6 +259,7 @@ peertube: | |||
259 | webadmin: | 259 | webadmin: |
260 | configuration: | 260 | configuration: |
261 | edit: | 261 | edit: |
262 | # Set this to false if you don't want to allow config edition in the web interface by instance admins | ||
262 | allowed: true | 263 | allowed: true |
263 | 264 | ||
264 | cache: | 265 | cache: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index d63d96619..c3cda52b5 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -256,8 +256,9 @@ peertube: | |||
256 | 256 | ||
257 | webadmin: | 257 | webadmin: |
258 | configuration: | 258 | configuration: |
259 | # Set to false if you want the config to be readonly | 259 | edit: |
260 | allow_edits: true | 260 | # Set this to false if you don't want to allow config edition in the web interface by instance admins |
261 | allowed: true | ||
261 | 262 | ||
262 | ############################################################################### | 263 | ############################################################################### |
263 | # | 264 | # |
@@ -290,7 +291,7 @@ contact_form: | |||
290 | signup: | 291 | signup: |
291 | enabled: false | 292 | enabled: false |
292 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 293 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
293 | minimum_age: 16 | 294 | minimum_age: 16 # Used to configure the signup form |
294 | requires_email_verification: false | 295 | requires_email_verification: false |
295 | filters: | 296 | filters: |
296 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | 297 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist |