ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix typos in config files and Nginx template
ar9708b95c31708f2e
diff --git a/config/default.yaml b/config/default.yamlindex 9afd432798..56d604bac4 100644--- a/config/default.yaml+++ b/config/default.yaml@@ -827,8 +827,8 @@ import:# You can also use a youtube-dl standalone binary (requires python_path: null)# GNU/Linux binaries with support for impersonating browser requests (required by some platforms such as Vimeo) examples:# * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux (x64)- # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l (ARMv7)- # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l (ARMv8/AArch64/ARM64)+ # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l.zip (ARMv7)+ # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64 (ARMv8/AArch64/ARM64)url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'# Release binary name: 'yt-dlp' or 'youtube-dl'@@ -999,7 +999,7 @@ instance:# To discourage researchers from testing your instance and disable security.txt integration, set this to an empty stringsecuritytxt: |Contact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md- Expires: 2025-12-31T11:00:00.000Z'+ Expires: 2025-12-31T11:00:00.000Zservices:# Cards configuration to format video in Twitter/Xdiff --git a/config/production.yaml.example b/config/production.yaml.exampleindex a757654bb8..00a09ad686 100644--- a/config/production.yaml.example+++ b/config/production.yaml.example@@ -837,8 +837,8 @@ import:# You can also use a youtube-dl standalone binary (requires python_path: null)# GNU/Linux binaries with support for impersonating browser requests (required by some platforms such as Vimeo) examples:# * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux (x64)- # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l (ARMv7)- # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l (ARMv8/AArch64/ARM64)+ # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_armv7l.zip (ARMv7)+ # * https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64 (ARMv8/AArch64/ARM64)url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'# Release binary name: 'yt-dlp' or 'youtube-dl'@@ -1009,7 +1009,7 @@ instance:# To discourage researchers from testing your instance and disable security.txt integration, set this to an empty stringsecuritytxt: |Contact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md- Expires: 2025-12-31T11:00:00.000Z'+ Expires: 2025-12-31T11:00:00.000Zservices:# Cards configuration to format video in Twitter/Xdiff --git a/support/nginx/peertube b/support/nginx/peertubeindex 2a05efb42e..10cda91000 100644--- a/support/nginx/peertube+++ b/support/nginx/peertube@@ -234,7 +234,7 @@ server {add_header Access-Control-Allow-Methods 'GET, OPTIONS';add_header Access-Control-Allow-Headers 'Range,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';add_header Access-Control-Max-Age 1728000; # Preflight request can be cached 20 days- add_header Content-Type 'text/plain charset=UTF-8';+ add_header Content-Type 'text/plain; charset=UTF-8';add_header Content-Length 0;return 204;}