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:
parent
403a02e9f4
commit
30551ad165
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ location ~ ^/static/(webseed|videos|redundancy|streaming-playlists)/ {
|
||||||
aio threads;
|
aio threads;
|
||||||
|
|
||||||
# web-videos is the name of the directory mapped to the `storage.web_videos` key in your PeerTube configuration
|
# 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;
|
rewrite ^/static/(.*)$ /$1 break;
|
||||||
|
|
||||||
root __DATA_DIR__/storage/;
|
root __DATA_DIR__/storage/;
|
||||||
|
|
Loading…
Add table
Reference in a new issue