1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-12-29 14:28:56 +01:00
parent 403a02e9f4
commit 30551ad165

View file

@ -217,7 +217,7 @@ location ~ ^/static/(webseed|videos|redundancy|streaming-playlists)/ {
aio threads;
# web-videos is the name of the directory mapped to the `storage.web_videos` key in your PeerTube configuration
rewrite ^/static/webseed/(.*)$ /web-videos/$1 break;
rewrite ^/static/webseed/(.*)$ /videos/$1 break;
rewrite ^/static/(.*)$ /$1 break;
root __DATA_DIR__/storage/;