aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-28 09:59:39 +0200
committerChocobozzz <me@florianbigard.com>2022-10-28 09:59:39 +0200
commit1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd (patch)
tree81fb5d1b0169a0c1978097a9d49c6b145400dc52 /config/production.yaml.example
parent5a122dddc5aab1b2ae1843411032d5f392bdd216 (diff)
downloadPeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.gz
PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.zst
PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.zip
Update production.yaml
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r--config/production.yaml.example14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 167d23af8..c136a73ad 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -138,6 +138,10 @@ storage:
138 # If not, peertube will fallback to the default file 138 # If not, peertube will fallback to the default file
139 client_overrides: '/var/www/peertube/storage/client-overrides/' 139 client_overrides: '/var/www/peertube/storage/client-overrides/'
140 140
141static_files:
142 # Require and check user authentication when accessing private files (internal/private video files)
143 private_files_require_auth: true
144
141object_storage: 145object_storage:
142 enabled: false 146 enabled: false
143 147
@@ -149,9 +153,17 @@ object_storage:
149 upload_acl: 153 upload_acl:
150 # Set this ACL on each uploaded object of public/unlisted videos 154 # Set this ACL on each uploaded object of public/unlisted videos
151 public: 'public-read' 155 public: 'public-read'
152 # Set this ACL on each uploaded object of private/internal videos 156 # Set this ACL on each uploaded object of private/internal videos
157 # PeerTube can proxify requests to private objects so your users can access them
153 private: 'private' 158 private: 'private'
154 159
160 proxy:
161 # If private files (private/internal video files) have a private ACL, users can't access directly the ressource
162 # PeerTube can proxify requests between your object storage service and your users
163 # If you disable PeerTube proxy, ensure you use your own proxy that is able to access the private files
164 # Or you can also set a public ACL for private files in object storage if you don't want to use a proxy
165 proxify_private_files: true
166
155 credentials: 167 credentials:
156 # You can also use AWS_ACCESS_KEY_ID env variable 168 # You can also use AWS_ACCESS_KEY_ID env variable
157 access_key_id: '' 169 access_key_id: ''