diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml index 0b0a54eef..a916b1dc3 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -10,6 +10,11 @@ webserver: | |||
10 | hostname: 'localhost' | 10 | hostname: 'localhost' |
11 | port: 9000 | 11 | port: 9000 |
12 | 12 | ||
13 | # Secrets you need to generate the first time you run PeerTube | ||
14 | secrets: | ||
15 | # Generate one using `openssl rand -hex 32` | ||
16 | peertube: '' | ||
17 | |||
13 | rates_limit: | 18 | rates_limit: |
14 | api: | 19 | api: |
15 | # 50 attempts in 10 seconds | 20 | # 50 attempts in 10 seconds |
@@ -122,6 +127,7 @@ storage: | |||
122 | captions: 'storage/captions/' | 127 | captions: 'storage/captions/' |
123 | cache: 'storage/cache/' | 128 | cache: 'storage/cache/' |
124 | plugins: 'storage/plugins/' | 129 | plugins: 'storage/plugins/' |
130 | well_known: 'storage/well-known/' | ||
125 | # Overridable client files in client/dist/assets/images: | 131 | # Overridable client files in client/dist/assets/images: |
126 | # - logo.svg | 132 | # - logo.svg |
127 | # - favicon.png | 133 | # - favicon.png |
@@ -134,6 +140,10 @@ storage: | |||
134 | # If not, peertube will fallback to the default file | 140 | # If not, peertube will fallback to the default file |
135 | client_overrides: 'storage/client-overrides/' | 141 | client_overrides: 'storage/client-overrides/' |
136 | 142 | ||
143 | static_files: | ||
144 | # Require and check user authentication when accessing private files (internal/private video files) | ||
145 | private_files_require_auth: true | ||
146 | |||
137 | object_storage: | 147 | object_storage: |
138 | enabled: false | 148 | enabled: false |
139 | 149 | ||
@@ -142,8 +152,19 @@ object_storage: | |||
142 | 152 | ||
143 | region: 'us-east-1' | 153 | region: 'us-east-1' |
144 | 154 | ||
145 | # Set this ACL on each uploaded object | 155 | upload_acl: |
146 | upload_acl: 'public-read' | 156 | # Set this ACL on each uploaded object of public/unlisted videos |
157 | public: 'public-read' | ||
158 | # Set this ACL on each uploaded object of private/internal videos | ||
159 | # PeerTube can proxify requests to private objects so your users can access them | ||
160 | private: 'private' | ||
161 | |||
162 | proxy: | ||
163 | # If private files (private/internal video files) have a private ACL, users can't access directly the ressource | ||
164 | # PeerTube can proxify requests between your object storage service and your users | ||
165 | # If you disable PeerTube proxy, ensure you use your own proxy that is able to access the private files | ||
166 | # Or you can also set a public ACL for private files in object storage if you don't want to use a proxy | ||
167 | proxify_private_files: true | ||
147 | 168 | ||
148 | credentials: | 169 | credentials: |
149 | # You can also use AWS_ACCESS_KEY_ID env variable | 170 | # You can also use AWS_ACCESS_KEY_ID env variable |
@@ -557,6 +578,9 @@ import: | |||
557 | # Number of latest published videos to check and to potentially import when syncing a channel | 578 | # Number of latest published videos to check and to potentially import when syncing a channel |
558 | videos_limit_per_synchronization: 10 | 579 | videos_limit_per_synchronization: 10 |
559 | 580 | ||
581 | # Max number of videos to import when the user asks for full sync | ||
582 | full_sync_videos_limit: 1000 | ||
583 | |||
560 | auto_blacklist: | 584 | auto_blacklist: |
561 | # New videos automatically blacklisted so moderators can review before publishing | 585 | # New videos automatically blacklisted so moderators can review before publishing |
562 | videos: | 586 | videos: |
@@ -638,7 +662,8 @@ instance: | |||
638 | robots: | | 662 | robots: | |
639 | User-agent: * | 663 | User-agent: * |
640 | Disallow: | 664 | Disallow: |
641 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string | 665 | # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes |
666 | # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string | ||
642 | securitytxt: | 667 | securitytxt: |
643 | '# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:' | 668 | '# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:' |
644 | 669 | ||