Install v6.1.0 by default
This commit is contained in:
parent
d72eb3371a
commit
cfd951f678
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# defaults file for vars
|
# defaults file for vars
|
||||||
peertube_system_dep: "['curl', 'python3-dev', 'python-is-python3', 'python3-psycopg2','certbot', 'nginx', 'ffmpeg', 'postgresql', 'postgresql-contrib', 'openssl', 'g++', 'make', 'redis-server', 'git', 'unzip', 'acl', 'npm']"
|
peertube_system_dep: "['curl', 'python3-dev', 'python-is-python3', 'python3-psycopg2','certbot', 'nginx', 'ffmpeg', 'postgresql', 'postgresql-contrib', 'openssl', 'g++', 'make', 'redis-server', 'git', 'unzip', 'acl', 'npm']"
|
||||||
peertube_version: 'v6.0.1'
|
peertube_version: 'v6.1.0'
|
||||||
peertube_download_url: "https://github.com/Chocobozzz/PeerTube/releases/download/{{ peertube_version }}/peertube-{{ peertube_version }}.zip"
|
peertube_download_url: "https://github.com/Chocobozzz/PeerTube/releases/download/{{ peertube_version }}/peertube-{{ peertube_version }}.zip"
|
||||||
peertube_domains: ['example.domain.org']
|
peertube_domains: ['example.domain.org']
|
||||||
peertube_certbot_admin_email: 'security@evolix.fr'
|
peertube_certbot_admin_email: 'security@evolix.fr'
|
||||||
|
|
|
@ -124,6 +124,7 @@ storage:
|
||||||
avatars: '/var/www/peertube/storage/avatars/'
|
avatars: '/var/www/peertube/storage/avatars/'
|
||||||
web_videos: '/var/www/peertube/storage/web-videos/'
|
web_videos: '/var/www/peertube/storage/web-videos/'
|
||||||
streaming_playlists: '/var/www/peertube/storage/streaming-playlists/'
|
streaming_playlists: '/var/www/peertube/storage/streaming-playlists/'
|
||||||
|
original_video_files: '/var/www/peertube/storage/original-video-files/'
|
||||||
redundancy: '/var/www/peertube/storage/redundancy/'
|
redundancy: '/var/www/peertube/storage/redundancy/'
|
||||||
logs: '/var/www/peertube/storage/logs/'
|
logs: '/var/www/peertube/storage/logs/'
|
||||||
previews: '/var/www/peertube/storage/previews/'
|
previews: '/var/www/peertube/storage/previews/'
|
||||||
|
@ -193,9 +194,25 @@ object_storage:
|
||||||
# Useful when you want to use a CDN/external proxy
|
# Useful when you want to use a CDN/external proxy
|
||||||
base_url: '' # Example: 'https://mirror.example.com'
|
base_url: '' # Example: 'https://mirror.example.com'
|
||||||
|
|
||||||
# Same settings but for webtorrent videos
|
# PeerTube makes many small requests to the object storage provider to upload/delete/update live chunks
|
||||||
|
# which can be a problem depending on your object storage provider
|
||||||
|
# You can also choose to disable this feature to reduce live streams latency
|
||||||
|
# Live stream replays are not affected by this setting, so they are uploaded in object storage as regular VOD videos
|
||||||
|
store_live_streams: true
|
||||||
|
|
||||||
web_videos:
|
web_videos:
|
||||||
bucket_name: 'videos'
|
bucket_name: 'web-videos'
|
||||||
|
prefix: ''
|
||||||
|
base_url: ''
|
||||||
|
|
||||||
|
user_exports:
|
||||||
|
bucket_name: 'user-exports'
|
||||||
|
prefix: ''
|
||||||
|
base_url: ''
|
||||||
|
|
||||||
|
# Same settings but for original video files
|
||||||
|
original_video_files:
|
||||||
|
bucket_name: 'original-video-files'
|
||||||
prefix: ''
|
prefix: ''
|
||||||
base_url: ''
|
base_url: ''
|
||||||
|
|
||||||
|
@ -328,7 +345,7 @@ views:
|
||||||
# PeerTube buffers local video views before updating and federating the video
|
# PeerTube buffers local video views before updating and federating the video
|
||||||
local_buffer_update_interval: '30 minutes'
|
local_buffer_update_interval: '30 minutes'
|
||||||
|
|
||||||
ip_view_expiration: '1 hour'
|
view_expiration: '1 hour'
|
||||||
|
|
||||||
# Used to get country location of views of local videos
|
# Used to get country location of views of local videos
|
||||||
geo_ip:
|
geo_ip:
|
||||||
|
|
|
@ -92,6 +92,13 @@ server {
|
||||||
try_files /dev/null @api;
|
try_files /dev/null @api;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
|
||||||
|
client_max_body_size 0;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
|
||||||
|
try_files /dev/null @api;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
|
location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
|
||||||
limit_except POST HEAD { deny all; }
|
limit_except POST HEAD { deny all; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue