diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index a36f4979b..ef0358221 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -1,5 +1,5 @@ | |||
1 | listen: | 1 | listen: |
2 | hostname: 'localhost' | 2 | hostname: '127.0.0.1' |
3 | port: 9000 | 3 | port: 9000 |
4 | 4 | ||
5 | # Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL) | 5 | # Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL) |
@@ -91,11 +91,13 @@ defaults: | |||
91 | licence: null | 91 | licence: null |
92 | 92 | ||
93 | p2p: | 93 | p2p: |
94 | # Enable P2P by default | 94 | # Enable P2P by default in PeerTube client |
95 | # Can be enabled/disabled by anonymous users and logged in users | 95 | # Can be enabled/disabled by anonymous users and logged in users |
96 | webapp: | 96 | webapp: |
97 | enabled: true | 97 | enabled: true |
98 | 98 | ||
99 | # Enable P2P by default in PeerTube embed | ||
100 | # Can be enabled/disabled by URL option | ||
99 | embed: | 101 | embed: |
100 | enabled: true | 102 | enabled: true |
101 | 103 | ||
@@ -135,7 +137,7 @@ object_storage: | |||
135 | region: 'us-east-1' | 137 | region: 'us-east-1' |
136 | 138 | ||
137 | # Set this ACL on each uploaded object | 139 | # Set this ACL on each uploaded object |
138 | upload_acl: 'public' | 140 | upload_acl: 'public-read' |
139 | 141 | ||
140 | credentials: | 142 | credentials: |
141 | # You can also use AWS_ACCESS_KEY_ID env variable | 143 | # You can also use AWS_ACCESS_KEY_ID env variable |
@@ -170,6 +172,7 @@ log: | |||
170 | max_files: 20 | 172 | max_files: 20 |
171 | anonymize_ip: false | 173 | anonymize_ip: false |
172 | log_ping_requests: true | 174 | log_ping_requests: true |
175 | log_tracker_unknown_infohash: true | ||
173 | prettify_sql: false | 176 | prettify_sql: false |
174 | 177 | ||
175 | trending: | 178 | trending: |
@@ -225,7 +228,7 @@ security: | |||
225 | enabled: true | 228 | enabled: true |
226 | 229 | ||
227 | tracker: | 230 | tracker: |
228 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 231 | # If you disable the tracker, you disable the P2P on your PeerTube instance |
229 | enabled: true | 232 | enabled: true |
230 | # Only handle requests on your videos | 233 | # Only handle requests on your videos |
231 | # If you set this to false it means you have a public tracker | 234 | # If you set this to false it means you have a public tracker |