1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2024-01-18 18:42:37 +01:00
parent 7428b3168c
commit aa0ada933c
2 changed files with 3 additions and 3 deletions

View file

@ -144,7 +144,7 @@ location ~ ^/client/(.*\.(js|css|png|svg|woff2|otf|ttf|woff|eot))$ {
alias __INSTALL_DIR__/client/dist/$1;
}
location ~ ^(/static/(webseed|web-videos|streaming-playlists)/private/)|^/download {
location ~ ^(/static/(webseed|web-videos|streaming-playlists/hls)/private/)|^/download {
# We can't rate limit a try_files directive, so we need to duplicate @api
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -42,8 +42,8 @@ ram.runtime = "1G"
[resources]
[resources.sources.main]
url = "https://github.com/Chocobozzz/PeerTube/archive/refs/tags/v6.0.3.tar.gz"
sha256 = "a88342346c089f3ef3a76daa09e0ac85fbfebd270f967f55a395e1024008d218"
url = "https://github.com/Chocobozzz/PeerTube/releases/download/v6.0.3/peertube-v6.0.3.tar.xz"
sha256 = "9a88899a4777c340df41e763ecdf8656edf3ef75f54b4de9be05aa309697a211"
autoupdate.strategy = "latest_github_tag"
[resources.ports]